Missing "qrc_mimetypes.cpp" when trying to build Qt on Windows 7 (32-bit build) with VS 2012 compiler

I am trying to build Qt on a 64-bit version of Windows 7 (but a 32-bit build of Qt) using the VS 2012 C ++ compiler, following the steps here . (I also update the latest Wiki when I go.)

Unfortunately, I cannot overcome the missing .rcc\debug_shared\qrc_mimetypes.cpp , which appears after some time when nmake is nmake .

(Note: int-repository and configure seem pretty smooth (but see the cited comments below), and nmake continues to successfully create the files before the "missing qrc_mimetypes.cpp" error appears.)

I am trying to start from scratch twice. A few more details about what I did are copied from my comment under the aforementioned Community Wiki:

I can not get past the missing .rcc \ debug_shared \ qrc_mimetype.cpp. After receiving the same error last night, today I started from scratch deleting my entire Qt folder and reloading Qt, followed by the init-repository, and when it is complete (giving a few "denied permissions"). I launched the opening of the Git project in SmartGit, noticed some empty submodules and made SmartGit (including submodules), which reports on the success and population of all submodules. Unfortunately, nmake failed in exactly one place - qrc_mimetypes.cpp is missing. Any suggestions?

Any suggestions would be highly appreciated. I also posted a comment with this question on the corresponding Qt forum.

0
c ++ qt qt5 visual-studio-2012
Apr 10 '13 at
source share
1 answer

I solved this problem. The problem is with Avast! antivirus sandbox.

I added a related Wiki to give a warning about the problem (and a workaround).

A quote directly from this Wiki, as well as a quote from my comment below the Wiki entry:

CRITICAL . Disable any antivirus software AND SANDBOXING . during the Qt nmake process (and, to be safe, process throughout). Internally, Qt executes several executable files that antivirus programs can interfere with (sometimes silently). In particular, if you have sandbox software, make sure you turn off the sandbox.

URGENT WARNING FOR AVAST! SANDBOX USERS : Avast Sandbox has an error in which even when you turn off the Avast automatic sandbox, the sandbox will NOT turn off and it will silently isolate all resource files automatically created by Qt rcc during the Qt build process. The Qt ALWAYS construct does not work for any user who has set the Avast autosandbox function, EVEN WITH AUTO-SANDBOXING TURNED OFF. THE ONLY WAY TO STOP THIS ISSUE TO FULLY REMOVE THE AIR! FROM YOUR SYSTEM before building Qt. You can reinstall Avast! after Qt, the assembly is complete.

and my comment

I found a problem with my previous comment. There is a mistake with Avast! an antivirus sandbox such that Avast! must be completely removed from the operating system in order for Qt to build, because Avast! the automatic sandbox function does not turn off even when it is set to "disabled", but instead enters a "quiet" sandbox Mode; Avast! took the output of the Qt rcc and deleted these files (without warning, without warning) from the system, Qt failed to fail. The only way to disable Avast! completely remove it. I modified the Wiki to discuss this.

(Needless to say, as an Avast! User for many years, in my opinion, they have grown and they are no longer ranked in the top ten on PC mag or elsewhere, I switched to Bitdefender .)

0
Apr 11 '13 at
source share



All Articles