Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Issue with running configure.bat (Windows)
Forum Updated to NodeBB v4.3 + New Features

Issue with running configure.bat (Windows)

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
7 Posts 3 Posters 1.6k 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.
  • D Offline
    D Offline
    DragonOsman
    wrote on 30 Sept 2019, 20:58 last edited by DragonOsman
    #1

    I'm running a Windows 10 64 bit OS, Version 1903 Build 18362.356. I have EMSDK installed with the Wasm backend (I installed with the command emsdk install latest-upstream and activated that). I have version 1.38.45 of Emscripten. I installed MinGW and sed and added them to my PATH variable.

    Then I tried to configure but got an error saying that it can't find qt5/qtbase/configure.bat and that I may have forgotten to run init-repository. configure.bat is right there in the Qt5 root directory, so I don't know why it's trying to look somewhere else, and init-repository won't run on Windows.

    Anyway, any help on here would be appreciated. Thanks.

    J 1 Reply Last reply 1 Oct 2019, 04:26
    0
    • D DragonOsman
      30 Sept 2019, 20:58

      I'm running a Windows 10 64 bit OS, Version 1903 Build 18362.356. I have EMSDK installed with the Wasm backend (I installed with the command emsdk install latest-upstream and activated that). I have version 1.38.45 of Emscripten. I installed MinGW and sed and added them to my PATH variable.

      Then I tried to configure but got an error saying that it can't find qt5/qtbase/configure.bat and that I may have forgotten to run init-repository. configure.bat is right there in the Qt5 root directory, so I don't know why it's trying to look somewhere else, and init-repository won't run on Windows.

      Anyway, any help on here would be appreciated. Thanks.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 1 Oct 2019, 04:26 last edited by
      #2

      @DragonOsman said in Issue with running config.bat (Windows):

      init-repository won't run on Windows

      It will if you install Perl

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

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DragonOsman
        wrote on 1 Oct 2019, 11:59 last edited by DragonOsman 10 Jan 2019, 12:02
        #3

        I have Perl, since I had to use it when building OpenSSL. So I have to run it as perl init-repository. Will do, then.

        And why is it not using the configure.bat file in the root directory? Is there something I need to know?

        J 1 Reply Last reply 1 Oct 2019, 12:10
        0
        • D DragonOsman
          1 Oct 2019, 11:59

          I have Perl, since I had to use it when building OpenSSL. So I have to run it as perl init-repository. Will do, then.

          And why is it not using the configure.bat file in the root directory? Is there something I need to know?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 1 Oct 2019, 12:10 last edited by
          #4

          @DragonOsman said in Issue with running configure.bat (Windows):

          And why is it not using the configure.bat file in the root directory? Is there something I need to know?

          I guess the one in root directory calls qtbase/configure.bat and aborts if it is not there.

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

          1 Reply Last reply
          0
          • D Offline
            D Offline
            DragonOsman
            wrote on 1 Oct 2019, 16:36 last edited by
            #5

            It's working for now so the main question I opened this thread for is solved. But I have other questions now.

            How do I specify a specific C++ standard, for example if I want to build with C++17? And how do I enable Desktop OpenGL and OpenGL ES 3.2 (what does the "ES" mean, anyway?)? And I want to use HTML and JavaScript as well since I downloaded the source for Qt 5.13 to use with Wasm. So do I need QML for that?

            Should I close this one and open a new thread for these questions or is this thread fine?

            J P 2 Replies Last reply 2 Oct 2019, 07:22
            0
            • D DragonOsman
              1 Oct 2019, 16:36

              It's working for now so the main question I opened this thread for is solved. But I have other questions now.

              How do I specify a specific C++ standard, for example if I want to build with C++17? And how do I enable Desktop OpenGL and OpenGL ES 3.2 (what does the "ES" mean, anyway?)? And I want to use HTML and JavaScript as well since I downloaded the source for Qt 5.13 to use with Wasm. So do I need QML for that?

              Should I close this one and open a new thread for these questions or is this thread fine?

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 2 Oct 2019, 07:22 last edited by jsulm 10 Feb 2019, 07:22
              #6

              @DragonOsman said in Issue with running configure.bat (Windows):

              How do I specify a specific C++ standard, for example if I want to build with C++17?

              -c++std c++17

              You can always ask a command for parameters it supports.
              See

              ./configure -h | grep c++
              

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

              1 Reply Last reply
              0
              • D DragonOsman
                1 Oct 2019, 16:36

                It's working for now so the main question I opened this thread for is solved. But I have other questions now.

                How do I specify a specific C++ standard, for example if I want to build with C++17? And how do I enable Desktop OpenGL and OpenGL ES 3.2 (what does the "ES" mean, anyway?)? And I want to use HTML and JavaScript as well since I downloaded the source for Qt 5.13 to use with Wasm. So do I need QML for that?

                Should I close this one and open a new thread for these questions or is this thread fine?

                P Offline
                P Offline
                Pablo J. Rogina
                wrote on 2 Oct 2019, 16:49 last edited by
                #7

                @DragonOsman said in Issue with running configure.bat (Windows):

                Should I close this one and open a new thread for these questions or is this thread fine?

                Yes please, so other users can expect to find answers to the issue based on topic title.
                If not, the solution(s) for the new issue will be embedded within the posts.

                Upvote the answer(s) that helped you solve the issue
                Use "Topic Tools" button to mark your post as Solved
                Add screenshots via postimage.org
                Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                1 Reply Last reply
                0

                1/7

                30 Sept 2019, 20:58

                • Login

                • Login or register to search.
                1 out of 7
                • First post
                  1/7
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved