> -----Original Message----- > From: interest-bounces+kai.koehne=digia....@qt-project.org > [mailto:interest-bounces+kai.koehne=digia....@qt-project.org] On Behalf Of > liang jian > Sent: Tuesday, November 12, 2013 8:48 AM > To: interest@qt-project.org > Subject: [Interest] QtCreator complains about ".pro file could not be parsed" > for Qt5 > > Hello everyone, I have a very simple .pro file: > > #------------------------------------------------- > # > # Project created by QtCreator 2013-11-12T09:49:29 # > #------------------------------------------------- > > QT += core gui > > greaterThan(QT_MAJOR_VERSION, 4): QT += widgets > > TARGET = testQtContainer > TEMPLATE = app > > > SOURCES += main.cpp\ > widget.cpp > > HEADERS += widget.h > > FORMS += widget.u > > > When I load this project in QtCreator 2.8.1 using Qt5 buildkit, I can't > start > the program or debug the program since the start/debug button is grayed, If I > move the mouse on the button, a tooltip will show up which says: ".pro file > could not be parsed". But building of the project works fine, I just can't > start or > debug it. And if I change build kit to qt 4.8 everything works fine.
Unfortunately you'll need upcoming Qt Creator 3.0 (3.0 branch) to work with Qt 5.2 projects. I understood that's because the qmake code embedded in Qt 5.2 has changed, and requires an up-to-date parser in Qt Creator. Regards Kai > Qt5 in my machine is built by myself, I got the source from git and > checkout > to stable branch. > > Build environment: windows 7 x64, msvc2010 > > BTW: in the past, it works fine with Qt5, this issue occurred recently. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest