Important: Please read the Qt Code of Conduct -

Ctrl-B hokey for subproject files

  • This hotkey of QtCreator is very useful for quick syntax check.
    Unfortunately it does not work for files of a subproject.pri.
    The error is: *.obj does not exist.

    Is there an other way as integrating every file of the supproject directly in the mainproject
    to get this quick compile feature ?

  • Lifetime Qt Champion


    What does that pri file contain and how are you using it ?

  • @SGaist

    // Subproject AllAdvWidgets
    HEADERS += $$PWD/AdvLabel.h \
        $$PWD/AdvWidgetsTools.h \
        $$PWD/AdvButtons.h \
        $$PWD/TabletTitle_Frame.h \
        $$PWD/AdvTblView.h \
    SOURCES += $$PWD/AdvLabel.cpp \
        $$PWD/AdvWidgetsTools.cpp \
        $$PWD/AdvButtons.cpp \
        $$PWD/TabletTitle_Frame.cpp \
        $$PWD/AdvTblView.cpp \
    FORMS += $$PWD/TabletTitle_Frame.ui \
    // Mainproject
    include (../NewLib/AdvWidgetsPlugin/AllAdvWidgets.pri)

    Whats that for a new restriction - posing only every 500 sec !?

  • Lifetime Qt Champion

    The file itself looks good.

    What is the exact error you are getting ?

Log in to reply