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. Duplicate properties when querying\setting Qmake environment variables

Duplicate properties when querying\setting Qmake environment variables

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

    I'm running into the "Could not find mkspecs for your QMAKESPEC..." error when trying to build Qt 4.7.3. Reading the documentation you can use "qmake -set VARNAME VARVALUE" to set these properties. I set them all to the appropriate directories and they seemed to have worked. When I run a "qmake -query", it lists all of my changes as well as the values it had before! When I run qmake in the Qt build, it of course references the old values, not the new ones I set. I only have one version of Qmake in my path and I verified that the QMake versions I set and use in the build are the same. (v2.01a). Here's the "qmake -query" output.

    QMAKE_MKSPECS:C:\global_online\Qt\4.7.3\mkspecs
    QMAKE_VERSION:2.01a
    QT_INSTALL_BINS:C:\global_online\Qt\4.7.3\bin
    QT_INSTALL_CONFIGURATION:C:\global_online\Qt\4.7.3
    QT_INSTALL_DATA:C:\global_online\Qt\4.7.3
    QT_INSTALL_DEMOS:C:\global_online\Qt\4.7.3\demos
    QT_INSTALL_DOCS:C:\global_online\Qt\4.7.3\doc
    QT_INSTALL_EXAMPLES:C:\global_online\Qt\4.7.3\examples
    QT_INSTALL_HEADERS:C:\global_online\Qt\4.7.3\include
    QT_INSTALL_IMPORTS:C:\global_online\Qt\4.7.3\imports
    QT_INSTALL_LIBS:C:\global_online\Qt\4.7.3\lib
    QT_INSTALL_PLUGINS:C:\global_online\Qt\4.7.3\plugins
    QT_INSTALL_PREFIX:C:\global_online\Qt\4.7.3
    QT_INSTALL_TRANSLATIONS:C:\global_online\Qt\4.7.3\translations
    QT_VERSION:4.7.3
    QT_INSTALL_PREFIX:E:\p4\Qt\4.7.3
    QT_INSTALL_DATA:E:\p4\Qt\4.7.3
    QT_INSTALL_DOCS:E:\p4\Qt\4.7.3\doc
    QT_INSTALL_HEADERS:E:\p4\Qt\4.7.3\include
    QT_INSTALL_LIBS:E:\p4\Qt\4.7.3\lib
    QT_INSTALL_BINS:E:\p4\Qt\4.7.3\bin
    QT_INSTALL_PLUGINS:E:\p4\Qt\4.7.3\plugins
    QT_INSTALL_IMPORTS:E:\p4\Qt\4.7.3\imports
    QT_INSTALL_TRANSLATIONS:E:\p4\Qt\4.7.3\translations
    QT_INSTALL_CONFIGURATION:E:/p4/Qt/4.7.3
    QT_INSTALL_EXAMPLES:E:\p4\Qt\4.7.3\examples
    QT_INSTALL_DEMOS:E:\p4\Qt\4.7.3\demos
    QMAKE_MKSPECS:E:\p4\Qt\4.7.3\mkspecs
    QMAKE_VERSION:2.01a
    QT_VERSION:4.7.3

    The first set of value are the ones I set, the second set were somehow set by default. Can anybody let me know how to set it properly?

    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