Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Ctrl-B hokey for subproject files

    General and Desktop
    2
    4
    569
    Loading More Posts
    • 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.
    • Andy314
      Andy314 last edited by Andy314

      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 ?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

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

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        Andy314 1 Reply Last reply Reply Quote 0
        • Andy314
          Andy314 @SGaist last edited by Andy314

          @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 !?

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            The file itself looks good.

            What is the exact error you are getting ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 0
            • First post
              Last post