Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qmake with TEMPLATE=subdirs and MSVC
Qt 6.11 is out! See what's new in the release blog

Qmake with TEMPLATE=subdirs and MSVC

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 3.0k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    JulienMaille
    wrote on last edited by
    #1

    I have a top level .pro file with TEMPLATE = subdirs linking to different .pro for each plugin and the main application.
    If I qmake/nmake this .pro it works and compiles the plugins.

    Now I develop with MSVC (it's my problem you may say).
    Well if I qmake -tp vc this very same file, I get a bunch of warning (one per plugin) telling me the corresponding .vcproj has not been found. And the .vcproj are not created.

    What' could be wrong with my .pro?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JulienMaille
      wrote on last edited by
      #2

      Goddamit!
      Looks like I was just one google away from my answer.
      the "-r" options seems to do the trick: http://developer.qt.nokia.com/faq/answer/how_can_i_generate_.vcproj_files_recursively_for_a_.pro_file_with_the_subdi

      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