Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Ctrl-B hokey for subproject files
QtWS25 Last Chance

Ctrl-B hokey for subproject files

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 743 Views
  • 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.
  • Andy314A Offline
    Andy314A Offline
    Andy314
    wrote on last edited by Andy314
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Andy314A 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

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

        Andy314A Offline
        Andy314A Offline
        Andy314
        wrote on last edited by Andy314
        #3

        @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
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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
          0

          • Login

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