Note that there are some explanatory texts on larger screens.

plurals
  1. POQt 4.8.3 installation on Windows 7 & QtWebkit problems
    text
    copied!<p>I just updated my Qt to 4.8.3, because the program built from older version is not compatible to the new framework. </p> <p>So I have to upgrade.</p> <p>This process was frustrating and time consuming. So many problems came out.</p> <p>I download Qt from this url: <a href="http://qt-project.org/downloads" rel="nofollow">http://qt-project.org/downloads</a></p> <p>At beginning, I installed the MinGW one (I'm not a fan of MSVC).</p> <p>I tried the newest ( I think it's 4.6) version of MinGW and order version (4.4). However, after I installed MinGW and tried to install Qt 4.8.3, during the process, the following message shows up:</p> <blockquote> <pre><code>There is a problem with your MinGW installation: The installer could not find a valid C:\MinGW\include\w32api.h (Only versions with W32API 3.13 are supported) Do you still want to continue? (Your installation may not work) </code></pre> </blockquote> <p>The 4.6 version does have this w32api.h file, I don't know what's going on. And I have trouble finding MinGW 4.4 with this head file. </p> <p>I decide to ignore this warning and continue to install Qt and Qt creator. After that, I opened my current project, configure it (why the configuration become so complex...), I tried to build it.</p> <p>Then the following message shows up because some external lib I used requires Exception Handling:</p> <blockquote> <p>exception handling disabled, use -fexceptions to enable</p> </blockquote> <p>And I don't know how to enable the it. I tried to add <strong><em>-fexceptions</em></strong> flag in QMAKE_CXXFLAGS but it doesn't work.</p> <p>By the way, I tried the VC version of Qt too, but I used the MinGW before and the VC compiler is quite different, if I use VC version, it will take a lot of time to make it compilable by VC compiler.</p> <p>Does anyone know how to install Qt 4.8.3 on Windows? my project works fine before, now I just want to compile it successfully.......</p> <p>These are not the only problem. I updated the Qt on Mac machine too, it is easier to have the compiler work since it's unix base.</p> <p>However, I used QtWebkit lib in my project and obviously, they changed this lib and it's not compatible to order version.</p> <p>I can compile my project on Mac, however, every time I run it, following massage shows up and the program stopped.</p> <blockquote> <p>dyld: Symbol not found: _OBJC_CLASS_$_CALayerHost Referenced from: /Library/Frameworks/QtWebKit.framework/Versions/4/QtWebKit Expected in: /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore</p> <p>The program has unexpectedly finished.</p> </blockquote> <p>Does any one know how to solve this QtWebKit problem? I'll really appreciate.</p> <p>I remembered that when Qt is under nokia, it's so easy to install and use, the Qt SDK is perfect.</p> <p>I really hate the change made after it was bought by digia.........</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload