Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Correct platform for configure on windows 64 bit, msvc-2015?

Correct platform for configure on windows 64 bit, msvc-2015?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 4.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.
  • B Offline
    B Offline
    buckler
    wrote on last edited by
    #1

    Here is the configure I ran, and the error it gave:
    C:\Qt\Qt-5.5.1\qtbase\configure.bat -top-level -release -nomake tests -nomake examples -skip qtdeclarative -skip qtquickcontrols -skip qtwebchannel -skip qt3D -skip qtsensors -skip qtserialport -skip qtwayland -skip qtandroidextras -icu
    Unable to detect the platform from environment. Use -platform command lineargument or set the QMAKESPEC environment variable and run configure again
    See the README file for a list of supported operating systems and compilers.

    The list of supported platforms does not seem to have either 64 bit or msvc-2015. Help?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #2

      VS version and platform is detected automatically when you run configure and compilation from the compiler configured command prompt: <VS install dir>\VC\vcvarsall.bat amd64.

      Btw. you'll get a lot cleaner build if you use prefix:

      configure -prefix "X:/some/install/dir/" ...
      nmake
      nmake install  // copies a clean build and includes without temporary build artifacts to the prefix location
      //delete build folder, saves tons of space
      
      1 Reply Last reply
      1
      • B Offline
        B Offline
        buckler
        wrote on last edited by
        #3

        That did it, Chris... thank you!

        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