[Interest] QtCreator complains about ".pro file could not be parsed" for Qt5

liang jian jianliang79 at gmail.com
Tue Nov 12 08:47:58 CET 2013


    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.
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131112/ea9afd1c/attachment.html>


More information about the Interest mailing list