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 and additional configurations in VS2012
Forum Updated to NodeBB v4.3 + New Features

QMake and additional configurations in VS2012

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 2.1k 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.
  • C Offline
    C Offline
    curator
    wrote on last edited by
    #1

    Hi all,
    my current project in configured in windows with vs2012. I have multiple configurations, which are e.g. debug, release, debug_nogui and release_nogui.

    Now I want to store this information in my .pro file, such that the execution of

    @

    qmake -spec win32-msvc2012 -r -tp vc

    @

    create a visual studio solution with these four configurations.

    Unfortunatly, google didnt help me yet.

    @
    main.pro

    TEMPLATE = subdirs
    CONFIG += ordered
    SUBDIRS = pro1
    pro2

    TARGET = main

    pro1.depends = pro2
    @

    @
    proj1.pro

    TEMPLATE = lib

    TARGET = ../lib/proj1

    VPATH += include src

    HEADERS += ....

    SOURCES += ....

    @

    Is there any chance to create all four configurations in the same solution by qmake automatically?

    regards,
    curator

    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