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. How to use "-set" option in qmake?
Forum Updated to NodeBB v4.3 + New Features

How to use "-set" option in qmake?

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 3.4k 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.
  • X Offline
    X Offline
    xintrea
    wrote on 18 Mar 2011, 21:26 last edited by
    #1

    Hello!
    .
    .
    I try run qmake with setting any variable and it value. According to the documentation, for do it is used option "-set".
    .
    Options:
    -set <prop> <value> Set persistent property
    .
    http://apidocs.meego.com/1.1/core/html/qt4/qmake-environment-reference.html#installs
    .
    .
    I run command:
    .
    qmake ./meego/mytetra.pro -r -spec linux-g++ -set TARGET_OS_IS_MEEGO 1 CONFIG +=debug
    .
    .
    And qmake show error:
    .
    ***Unknown option -set
    .
    .
    How to run qmake with "-set" option?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Scylla
      wrote on 18 Mar 2011, 22:40 last edited by
      #2

      You have to call qmake -set separate as single command and not in combination with other options.

      1 Reply Last reply
      0

      1/2

      18 Mar 2011, 21:26

      • Login

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