Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Qt Creator Compile Error with mingw32-make on Windows

$
0
0
Hello, I have installed qt 5.1.0 and am trying to compile qt creator. I have downloaded the source code for qt creator and run qmake qtcreator.pro which generates a Makefile. I then run mingw32-make which generates the following error (scroll to bottom to see the error codes): Creating library file: C:\qt-creator-qt-creator\lib\qtcreator\libAggregation.a release/aggregate.o:aggregate.cpp:(.text+0xc): undefined reference to `_imp___ZN 14QReadWriteLockD1Ev’ release/aggregate.o:aggregate.cpp:(.text+0×49): undefined reference to `_imp___Z N9QHashData11free_helperEPFvPNS_4NodeEE’ release/aggregate.o:aggregate.cpp:(.text+0×7d): undefined reference to `_imp___Z Removed Lines due to 6000 limit release/aggregate.o:aggregate.cpp:(.text$_ZN6QDebugD1Ev[QDebug::~QDebug()]+0×3c) undefined reference to `_imp___ZN11QTextStreamD1Ev’ release/aggregate.o:aggregate.cpp:(.text$_ZN6QDebugD1Ev[QDebug::~QDebug()]+0×6e) undefined reference to `_imp___Z17qt_message_output9QtMsgTypeRK18QMessageLogCo ntextRK7QString’ Removed Lines due to 6000 Limit release/moc_aggregate.o:moc_aggregate.cpp:(.rdata$_ZTVN11Aggregation9AggregateE[ vtable for Aggregation::Aggregate]+0×34): undefined reference to `QObject::disco nnectNotify(QMetaMethod const&)’ collect2: ld returned 1 exit status mingw32-make3: *** [..\..\..\lib\qtcreator\Aggregation.dll] Error 1 mingw32-make3: Leaving directory `c:/qt-creator-qt-creator/src/libs/aggregatio n’ mingw32-make2: *** [release] Error 2 mingw32-make2: Leaving directory `c:/qt-creator-qt-creator/src/libs/aggregatio n’ mingw32-make1: *** [sub-libs-aggregation-make_first-ordered] Error 2 mingw32-make1: Leaving directory `c:/qt-creator-qt-creator/src’ mingw32-make: *** [sub-src-make_first-ordered] Error 2 I’m not sure what the problem is, but if anyone has an idea please let me know. Thank you.

Viewing all articles
Browse latest Browse all 2113

Trending Articles