Unable to detect the platform from environment



  • Hello all,

    I am working on Qt5.5.1 with msvc2013 for my project. When i ran the configure.bat file it generating a strange error shown below. It was working fine since one month but suddenly it generating error with the same command which i used

    The following output

    • cd qtbase
      Press any key to continue . . .
    • D:\TOOL\Qt5\5.5\Src\qtbase\configure.bat -embedded -xplatform android-g++ -hostprefix %CD% -prefix / -qt-sql-sqlite
      Unable to detect the platform from environment. Use -platform command lineargument or set the QMAKES
      PEC environment variable and run configure again
      See the README file for a list of supported operating systems and compilers.
      Press any key to continue . . .

    I was working with 30 days free trail of Qt for application development. Is this problem with license or some other reasons??
    Thank you all


  • Moderators

    Duplicate of https://forum.qt.io/topic/71065/unable-to-detect-the-platform-from-environment

    [It's now locked as such ~kshegunov]


Log in to reply
 

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