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. configure -prefix
QtWS25 Last Chance

configure -prefix

Scheduled Pinned Locked Moved Unsolved General and Desktop
16 Posts 3 Posters 2.7k Views
  • 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.
  • C Offline
    C Offline
    Cinexus123
    wrote on 13 Nov 2019, 15:07 last edited by
    #1

    When I click command:

    configure -prefix c:\newlib\qt5 -debug-and-release -mp -opensource -confirm-license -nomake examples -nomake tests -skip qtwebengine -platform win32-msvc2017

    unknown option skip

    why?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 13 Nov 2019, 15:36 last edited by
      #2

      Hi,

      What version of Qt ?
      On what version of Windows ?
      Where are you calling configure from ?

      One thing you can do if you don't want to build a module is to move its folder outside the sources you want to use to build.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply 13 Nov 2019, 15:41
      0
      • S SGaist
        13 Nov 2019, 15:36

        Hi,

        What version of Qt ?
        On what version of Windows ?
        Where are you calling configure from ?

        One thing you can do if you don't want to build a module is to move its folder outside the sources you want to use to build.

        C Offline
        C Offline
        Cinexus123
        wrote on 13 Nov 2019, 15:41 last edited by
        #3

        @SGaist qt 4.8.6 windows 10, calling in call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86

        One thing you can do if you don't want to build a module is to move its folder outside the sources you want to use to build. // I dont understand this, where take folder and which folder?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 13 Nov 2019, 15:49 last edited by
          #4

          There's an issue here, you give a prefix which contains "qt5" in its name and now you write that you are building Qt 4.8.6. So which version are you building ? The -skip option is valid only for Qt 5 and the QtWebEngine module is not available in Qt 4.

          Note also that Qt 4's latest release is 4.8.7 but at the same time it has reached end of life a long time ago.

          So what is you current exact situation ?

          @Cinexus123 said in configure -prefix:

          One thing you can do if you don't want to build a module is to move its folder outside the sources you want to use to build. // I dont understand this, where take folder and which folder?

          As written, the folder of the module you do not want to build. As for where, that's up to you, just outside the Qt sources you want to build.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • C Offline
            C Offline
            Cinexus123
            wrote on 13 Nov 2019, 15:58 last edited by
            #5

            Ok I understand, I take version 5.13.2 but in this version I cant see configure file? Where is he?

            J 1 Reply Last reply 13 Nov 2019, 15:59
            0
            • C Cinexus123
              13 Nov 2019, 15:58

              Ok I understand, I take version 5.13.2 but in this version I cant see configure file? Where is he?

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 13 Nov 2019, 15:59 last edited by
              #6

              @Cinexus123 said in configure -prefix:

              Where is he?

              In the Qt source code. Did you install Qt source code?

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

              C 1 Reply Last reply 13 Nov 2019, 16:09
              0
              • J jsulm
                13 Nov 2019, 15:59

                @Cinexus123 said in configure -prefix:

                Where is he?

                In the Qt source code. Did you install Qt source code?

                C Offline
                C Offline
                Cinexus123
                wrote on 13 Nov 2019, 16:09 last edited by
                #7

                @jsulm Sorry but I am begginer in this topic. I cant see difference between qt, qtcreator and qt source code. I install version from qt.io 5.13.2 and next i should copy https://github.com/qt/qtbase to qt folder this?

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 13 Nov 2019, 16:37 last edited by
                  #8

                  First thing: why do you want to build Qt ?

                  As for the source code, if you have a precise version in mind, you can use the MaintenanceTool to download the version you want.

                  Otherwise, get the code from https://code.qt.io

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  C 1 Reply Last reply 13 Nov 2019, 17:09
                  0
                  • S SGaist
                    13 Nov 2019, 16:37

                    First thing: why do you want to build Qt ?

                    As for the source code, if you have a precise version in mind, you can use the MaintenanceTool to download the version you want.

                    Otherwise, get the code from https://code.qt.io

                    C Offline
                    C Offline
                    Cinexus123
                    wrote on 13 Nov 2019, 17:09 last edited by Cinexus123
                    #9

                    @SGaist I must do that because I must to do a project to school and I have this in manual. It must be in 100%. I dont understand one thing because when I install version 5.13.2 I cant see configure file, I clone repo: https://github.com/qt/qtbase and made operation on this:

                    cd c:\newlib\qt\5.13.2
                    call "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86
                    configure -prefix c:\newlib\qt5 -debug-and-release -mp -opensource -confirm-license -nomake examples -nomake tests -skip qtwebengine -platform win32-msvc2017
                    set CL=/MP
                    jom
                    jom install

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 13 Nov 2019, 18:23 last edited by
                      #10

                      What must be 100% ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        Cinexus123
                        wrote on 13 Nov 2019, 19:06 last edited by
                        #11

                        manual which I paste in last post

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on 13 Nov 2019, 19:38 last edited by
                          #12

                          My question is what is the point of building Qt for your project ?
                          Is there any feature not available in the pre-built version that you need to enable ?

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          C 1 Reply Last reply 13 Nov 2019, 19:58
                          0
                          • S SGaist
                            13 Nov 2019, 19:38

                            My question is what is the point of building Qt for your project ?
                            Is there any feature not available in the pre-built version that you need to enable ?

                            C Offline
                            C Offline
                            Cinexus123
                            wrote on 13 Nov 2019, 19:58 last edited by Cinexus123
                            #13

                            @SGaist It is difficult to say because i must do a job which i get for my friend and he gives me a manual and i repeat a step. When I give you manual on priv can you help me how to do this step by step because i made it 8 hours and i have bugs.

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on 13 Nov 2019, 20:02 last edited by
                              #14

                              Like I already wrote, I don't see the use of building Qt yourself if the ore-built version provides what you need.

                              In any case, simplify your life and download the sources from the MaintenanceTool.

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              C 1 Reply Last reply 13 Nov 2019, 20:10
                              0
                              • S SGaist
                                13 Nov 2019, 20:02

                                Like I already wrote, I don't see the use of building Qt yourself if the ore-built version provides what you need.

                                In any case, simplify your life and download the sources from the MaintenanceTool.

                                C Offline
                                C Offline
                                Cinexus123
                                wrote on 13 Nov 2019, 20:10 last edited by
                                #15

                                Ehhh maybe I am moron but I dont understand. I download MaintanaceTool and qt version 5.13.2 but this file doesnt have configure file. I must configure and building, I dont know why but I must. I must use activeperl and jom. When i clone jom to qtbase file i get this bug(qmake -r):

                                Reading C:/newlib/qtbase/jom/jom/src/app/app.pro
                                Reading C:/newlib/qtbase/jom/jom/src/jomlib/jomlib.pro
                                Project MESSAGE: Can't locate path to MSYS. This is needed for flex.
                                Reading C:/newlib/qtbase/jom/jom/tests/tests.pro

                                And nmake command:

                                NMAKE: fatal error U1073: unknown how to create "C: \ newlib \ qtbase \ lib \ Qt6Guid.lib"
                                Stop.

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on 13 Nov 2019, 21:40 last edited by SGaist
                                  #16

                                  You have to download the sources, that's a separate option to select in the maintenance tool.

                                  Did you follow the the Qt for Windows - Building from Source guide ?

                                  On a side note, your clone is on the dev branch which is for Qt 6. Select the correct branch before configuring anything.

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  1

                                  7/16

                                  13 Nov 2019, 16:09

                                  • Login

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