[Qt-interest] How to compile QtCreator on Windows?
kai.koehne at nokia.com
kai.koehne at nokia.com
Wed Aug 31 10:44:41 CEST 2011
> -----Original Message-----
> From: qt-interest-bounces+kai.koehne=nokia.com at qt.nokia.com [mailto:qt-
> interest-bounces+kai.koehne=nokia.com at qt.nokia.com] On Behalf Of
> ext ??
> Sent: Friday, August 26, 2011 8:15 PM
> To: mdillist Qt
> Subject: [Qt-interest] How to compile QtCreator on Windows?
>
> I wonder if you have compiled QtCreator using mingw on Windows 7
> successfully?
>
> I downloaded 2.2.1 src-zip from from Nokia. As I follows the README file, I
> used
> qmake "QT_PRIVATE_HEADERS=" $SOURCE_DIRECTORY/qtcreator.pro And
> this is incorrect. I still got the error: could not find
> QtCore/private/qwineventnotifier_p.h.
Thanks for pointing this out, we should update the README. You can't compile Qt Creator without private headers at all anymore (on Windows).
> I have to copy this file from Qt framework source files to this folder. Then I
> got another error:
> ...qt-creator-2.2.1-src\src\plugins\qt4projectmanager\qt-s60\.cpp:251:
> error:'QTCREATOR_VERSION' was not declared in this scope I've no idea how
> to solve this problem.
Hard to say without more details (e.g. the filename).
> How could I compile QtCreator using mingw on Windows?
You should do a custom build of Qt 4.7 , and build Qt Creator against this one. This is at least what most people do. (Well, actually most Qt Creator developers are using MSVC).
Regards
Kai
PS: There's a dedicated qt-creator mailing list too http://lists.qt.nokia.com/mailman/listinfo/qt-creator
PPS: We already released an RC for 2.3, and it's looking pretty good actually. If you don't have a specific reason to stick to 2.2.1 I suggest compiling from the 2.3 branch.
> --
> Cheng Liang <http://about.me/devbean>
> Nanjing, China
> http://www.devbean.info
> from: chengliang.soft at gmail.com
More information about the Qt-interest-old
mailing list