Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Unable to detect the platform from environment
Qt 6.12 LTS is out! See what's new in the release blog

Unable to detect the platform from environment

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
14 Posts 3 Posters 6.2k Views 2 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.
  • jsulmJ jsulm

    @Ardec said in Unable to detect the platform from environment:

    30 days free trail of Qt

    is there a reason why you're using a trial version? Do you need a commercial license? If not you can use the open source version.

    A Offline
    A Offline
    Ardec
    wrote on last edited by
    #3

    @jsulm Yeah, I am developing application. Even I tried with Open source after my free trail but i am getting the same

    jsulmJ 1 Reply Last reply
    0
    • A Ardec

      @jsulm Yeah, I am developing application. Even I tried with Open source after my free trail but i am getting the same

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #4

      @Ardec Another question: do you have to build Qt by yourself? If not you can just install prebuilt binaries using Qt online installer.

      You probably have to get rid of this trial license, but I don't know how.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      0
      • A Offline
        A Offline
        Ardec
        wrote on last edited by
        #5

        No, I will try for that thank you

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @Ardec Another question: do you have to build Qt by yourself? If not you can just install prebuilt binaries using Qt online installer.

          You probably have to get rid of this trial license, but I don't know how.

          A Offline
          A Offline
          Ardec
          wrote on last edited by
          #6

          @jsulm If I want to port Qt on some Target plat form I must have access to do it for example on target mkspecs EMBEDDED LINUX

          jsulmJ 1 Reply Last reply
          0
          • A Ardec

            @jsulm If I want to port Qt on some Target plat form I must have access to do it for example on target mkspecs EMBEDDED LINUX

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #7

            @Ardec I would suggest to remove your current Qt and install the open source version to get rid of the trial license.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            A 1 Reply Last reply
            0
            • A Offline
              A Offline
              Ardec
              wrote on last edited by
              #8
              This post is deleted!
              1 Reply Last reply
              0
              • jsulmJ jsulm

                @Ardec I would suggest to remove your current Qt and install the open source version to get rid of the trial license.

                A Offline
                A Offline
                Ardec
                wrote on last edited by
                #9

                @jsulm If I have two different versions of QT installed on my pc. It may cause any problem for the above error??

                reply

                jsulmJ 1 Reply Last reply
                0
                • A Ardec

                  @jsulm If I have two different versions of QT installed on my pc. It may cause any problem for the above error??

                  reply

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  @Ardec I don't think so. You should use one of those vcvarsall.bat scripts provided by Visual Studio. These scripts prepare the environment, then the configure script should be able to recognize the platform.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A B 3 Replies Last reply
                  0
                  • jsulmJ jsulm

                    @Ardec I don't think so. You should use one of those vcvarsall.bat scripts provided by Visual Studio. These scripts prepare the environment, then the configure script should be able to recognize the platform.

                    A Offline
                    A Offline
                    Ardec
                    wrote on last edited by
                    #11
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @Ardec I don't think so. You should use one of those vcvarsall.bat scripts provided by Visual Studio. These scripts prepare the environment, then the configure script should be able to recognize the platform.

                      A Offline
                      A Offline
                      Ardec
                      wrote on last edited by
                      #12

                      @jsulm Yeah I found it, qtenv2.bat using the vcvarsall.bat provided by the VS.

                      echo off
                      echo Setting up environment for Qt usage...
                      set PATH=D:\TOOL\Qt5\5.5\msvc2013_64\bin;%PATH%
                      cd /D D:\TOOL\Qt5\5.5\msvc2013_64
                      echo Remember to call vcvarsall.bat to complete environment setup!

                      1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @Ardec I don't think so. You should use one of those vcvarsall.bat scripts provided by Visual Studio. These scripts prepare the environment, then the configure script should be able to recognize the platform.

                        B Offline
                        B Offline
                        Bharathdwaj
                        wrote on last edited by
                        #13

                        @jsulm I found the solution finally, The problem with the Path(Environment Changed)

                        It missed the qmake path

                        A 1 Reply Last reply
                        0
                        • B Bharathdwaj

                          @jsulm I found the solution finally, The problem with the Path(Environment Changed)

                          It missed the qmake path

                          A Offline
                          A Offline
                          Ardec
                          wrote on last edited by
                          #14

                          @Bharathdwaj Yeah, absolutely its working now.

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