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

    Hi,

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



  • @SGaist

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

    Besides:
    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
 

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