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



  • 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?


  • Moderators

    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
    


  • That did it, Chris... thank you!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.