.pro is not part of the project



  • Hi All,

    I have a project where the .pro file when I look at it in the editor looks fine. It has all the sections and things that the demo projects have plus a few additions.

    However when I load Qt creator (latest version) and open this project the run and debug arrows in the lower left are grayed out.

    To enable them I have to go to projects, run and under run settings I see:

    "the .pro file "ics.pro" is not part of the project"

    To fix this under run configuration I have to "add" ics.pro. After that the run and debug arrows enable and everything is good to go.

    After a while I end up with a bunch of run configurations and I remove some of them but even after adding one that works if I close Qt and reopen I have to go through the same steps.

    To me the .pro file looks normal. I have of course tried removing the .user file and resetting the configuration.

    Any idea on why I'm getting this message?

    Thanks in advance!

    @#-------------------------------------------------

    Project created by QtCreator 2014-12-21T07:42:19

    #-------------------------------------------------

    QT += core gui network serialport

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = ics
    TEMPLATE = app

    CONFIG += c++11

    Product version

    PMAJ = 1
    PMIN = 0
    PREL = 0
    PBLD = 0

    Exe version

    BMAJ = 0
    BMIN = 5
    BREL = 0

    History

    0.5.0.0 - 01012015 - Initial framework

    VERS_RC = ..\ics\ics.rc
    VERS_IN = ..\ics\appver.h

    versionrc.target = $$VERS_RC
    versionrc.commands = \Dev\p3dev\ICS\version\version.exe $$VERS_RC $$VERS_IN
    $$PMAJ $$PMIN $$PREL $$PBLD
    $$BMAJ $$BMIN $$BREL
    versionrc.depends = FORCE

    versioninc.target = $$VERS_IN
    versioninc.commands = \Dev\p3dev\ICS\version\version.exe $$VERS_RC $$VERS_IN
    $$PMAJ $$PMIN $$PREL $$PBLD
    $$BMAJ $$BMIN $$BREL
    versioninc.depends = FORCE

    PRE_TARGETDEPS += $$VERS_RC $$VERS_IN
    QMAKE_EXTRA_TARGETS += versionrc versioninc

    SOURCES += main.cpp
    views/mainview.cpp
    devices/dev_cavrosyringe.cpp
    misc/utils.cpp
    startup.cpp
    misc/logger.cpp
    devices/dev_instrument.cpp
    misc/settings.cpp
    io/io_serialdevice.cpp
    io/io_basedevice.cpp
    views/dialog_syringetest.cpp
    widgets/console.cpp

    HEADERS += views/mainview.h
    devices/dev_cavrosyringe.h
    misc/utils.h
    startup.h
    misc/logger.h
    appinfo.h
    devices/dev_instrument.h
    misc/settings.h
    io/io_serialdevice.h
    io/io_basedevice.h
    views/dialog_syringetest.h
    widgets/console.h

    FORMS += views/mainview.ui
    views/dialog_syringetest.ui

    RESOURCES +=
    p3resources.qrc

    win32:RC_FILE = ics.rc

    DISTFILES +=
    Notes.txt
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.