Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. subdir
    Log in to post

    • UNSOLVED qmake : No rule to make target Stop.
      General and Desktop • qmake subdir project files • • Venkateswaran  

      2
      0
      Votes
      2
      Posts
      597
      Views

      Double post - closed. https://forum.qt.io/topic/120680/qmake-warning-no-rule-to-make-target-stop
    • UNSOLVED qmake : warning: No rule to make target Stop.
      Installation and Deployment • qmake subdir project files • • Venkateswaran  

      2
      0
      Votes
      2
      Posts
      368
      Views

      Hi, AFAIR, yes, but you are setting the dependency on the wrong level. In your top level folder, TestSuite should depend on lib like app does.
    • UNSOLVED Include a 3rdparty cmake project as a subdir
      Installation and Deployment • qmake cmake subdir 3rdparty • • SerkanT  

      2
      0
      Votes
      2
      Posts
      610
      Views

      Hi and welcome to devnet, Because it's complex to integrate one build system with another. What 3rd party is it ?
    • UNSOLVED Build QWT as subproject
      General and Desktop • build qwt subdirs subdir subproject • • kenfred  

      1
      0
      Votes
      1
      Posts
      785
      Views

      No one has replied

    • SOLVED Debug/release folders with subdir template preventing from finding lib
      Tools • qmake debug release lib subdir • • Anselme  

      6
      0
      Votes
      6
      Posts
      3180
      Views

      Finally fixed it, i used a .qmake.conf file to store the root directory in a shared variable, for those who are interested, here are my 3 .pro files : project.pro TEMPLATE = subdirs CONFIG += ordered c++11 SUBDIRS = ircbot \ myApp myApp.depends = ircbot mylib.pro DESTDIR = $$lib_dir TARGET = mylib TEMPLATE = lib CONFIG += staticlib SOURCES += ... HEADERS += ... FORMS += ... myApp.pro DESTDIR = $$bin_dir TARGET = myApp TEMPLATE = app LIBS += $$lib_dir/libmylib.a INCLUDEPATH += ../mylib SOURCES = ... HEADERS += ... FORMS += ... and finally, the .qmake.conf file : lib_dir=$$PWD/lib bin_dir=$$PWD/bin this successfully creates this project structure : bin myApp.exe lib mylib.a project.pro .qmake.conf myApp myApp.pro mylib mylib.pro + a build directory anywhere i want
    • QTCreator Subdirs project does not shadow build properly
      General and Desktop • qmake build subdir shadow build • • jjekeli  

      6
      0
      Votes
      6
      Posts
      2197
      Views

      You're welcome ! Svn allows some interesting things like the use of properties that can simplify some handling for e.g. your files header.