Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. .pro is not part of the project

.pro is not part of the project

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 648 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SysTech
    wrote on last edited by
    #1

    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
    @

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved