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. compile Qt error
Forum Updated to NodeBB v4.3 + New Features

compile Qt error

Scheduled Pinned Locked Moved Unsolved General and Desktop
16 Posts 5 Posters 2.7k Views 3 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.
  • T Offline
    T Offline
    TANG JI QIANG_CHINA_
    wrote on 23 Jul 2018, 08:05 last edited by
    #1

    configure.bat -platform win32-msvc -opensource -confirm-license -release -widgets

    return error:

    Project ERROR: Library 'pcre2' is not defined.
    NMAKE : fatal error U1077: “cd”: 返回代码“0x3”
    Stop.
    NMAKE : fatal error U1077: “cd”: 返回代码“0x2”
    Stop.
    NMAKE : fatal error U1077: “cd”: 返回代码“0x2”
    Stop.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 23 Jul 2018, 08:09 last edited by
      #2

      Hi
      Did u install perl ?
      Before trying to make a self compiled Qt version , check out

      http://doc.qt.io/qt-5/windows-requirements.html
      http://doc.qt.io/qt-5/linux-requirements.html

      Also, why you need your own version ?

      1 Reply Last reply
      3
      • T Offline
        T Offline
        TANG JI QIANG_CHINA_
        wrote on 23 Jul 2018, 08:25 last edited by
        #3

        some bug in qt

        M 1 Reply Last reply 23 Jul 2018, 08:27
        0
        • T TANG JI QIANG_CHINA_
          23 Jul 2018, 08:25

          some bug in qt

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 23 Jul 2018, 08:27 last edited by
          #4

          @TANG-JI-QIANG_CHINA_
          ok so u are applying patch.

          make sure to follow the guide
          https://doc.qt.io/Qt-5/windows-building.html
          and make sure you read the Requirements

          1 Reply Last reply
          2
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 23 Jul 2018, 21:25 last edited by
            #5

            Hi,

            Where exactly do you get that error ?

            As @mrjj asked, did you install all build dependencies ?

            What version of Visual Studio are you using ?

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

            T 1 Reply Last reply 24 Jul 2018, 02:58
            1
            • S SGaist
              23 Jul 2018, 21:25

              Hi,

              Where exactly do you get that error ?

              As @mrjj asked, did you install all build dependencies ?

              What version of Visual Studio are you using ?

              T Offline
              T Offline
              TANG JI QIANG_CHINA_
              wrote on 24 Jul 2018, 02:58 last edited by
              #6

              @SGaist

              Now I can compile it correctly, but I need to know what the parameters of Qt 5.9.2 version configure.exe are.

              J 1 Reply Last reply 24 Jul 2018, 05:10
              0
              • T TANG JI QIANG_CHINA_
                24 Jul 2018, 02:58

                @SGaist

                Now I can compile it correctly, but I need to know what the parameters of Qt 5.9.2 version configure.exe are.

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 24 Jul 2018, 05:10 last edited by
                #7

                @TANG-JI-QIANG_CHINA_ said in compile Qt error:

                but I need to know what the parameters of Qt 5.9.2 version configure.exe are

                Then call it with -h parameter:

                configure -h
                

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

                T 1 Reply Last reply 24 Jul 2018, 05:42
                0
                • J jsulm
                  24 Jul 2018, 05:10

                  @TANG-JI-QIANG_CHINA_ said in compile Qt error:

                  but I need to know what the parameters of Qt 5.9.2 version configure.exe are

                  Then call it with -h parameter:

                  configure -h
                  
                  T Offline
                  T Offline
                  TANG JI QIANG_CHINA_
                  wrote on 24 Jul 2018, 05:42 last edited by
                  #8

                  @jsulm
                  I only compiled the QtCore and QTWidget modules, with the debugging information DLL to replace the corresponding files in the installation directory, but there was an error. Is it necessary to compile it all?
                  ![0_1532410930843_新建位图图像.bmp](Uploading 100%)

                  J T 2 Replies Last reply 24 Jul 2018, 05:45
                  0
                  • T TANG JI QIANG_CHINA_
                    24 Jul 2018, 05:42

                    @jsulm
                    I only compiled the QtCore and QTWidget modules, with the debugging information DLL to replace the corresponding files in the installation directory, but there was an error. Is it necessary to compile it all?
                    ![0_1532410930843_新建位图图像.bmp](Uploading 100%)

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 24 Jul 2018, 05:45 last edited by
                    #9

                    @TANG-JI-QIANG_CHINA_ Please just insert the error text here.

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

                    1 Reply Last reply
                    0
                    • T TANG JI QIANG_CHINA_
                      24 Jul 2018, 05:42

                      @jsulm
                      I only compiled the QtCore and QTWidget modules, with the debugging information DLL to replace the corresponding files in the installation directory, but there was an error. Is it necessary to compile it all?
                      ![0_1532410930843_新建位图图像.bmp](Uploading 100%)

                      T Offline
                      T Offline
                      TANG JI QIANG_CHINA_
                      wrote on 24 Jul 2018, 05:52 last edited by
                      #10

                      @TANG-JI-QIANG_CHINA_ 0_1532410990583_新建位图图像.png

                      J 1 Reply Last reply 24 Jul 2018, 05:58
                      0
                      • T TANG JI QIANG_CHINA_
                        24 Jul 2018, 05:52

                        @TANG-JI-QIANG_CHINA_ 0_1532410990583_新建位图图像.png

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 24 Jul 2018, 05:58 last edited by
                        #11

                        @TANG-JI-QIANG_CHINA_ I don't see the actual error in this screen-shot...

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

                        T 2 Replies Last reply 24 Jul 2018, 08:07
                        0
                        • J jsulm
                          24 Jul 2018, 05:58

                          @TANG-JI-QIANG_CHINA_ I don't see the actual error in this screen-shot...

                          T Offline
                          T Offline
                          TANG JI QIANG_CHINA_
                          wrote on 24 Jul 2018, 08:07 last edited by
                          #12

                          @jsulm
                          There are two kinds of index classes in QGraphicsScene: QGraphicsSceneBspTreeIndex and QGraphicsSceneLinearIndex, but they have some shortcomings for us, and we can't reset the index method from the outside, so only change the index class code.

                          1 Reply Last reply
                          0
                          • J jsulm
                            24 Jul 2018, 05:58

                            @TANG-JI-QIANG_CHINA_ I don't see the actual error in this screen-shot...

                            T Offline
                            T Offline
                            TANG JI QIANG_CHINA_
                            wrote on 24 Jul 2018, 09:15 last edited by
                            #13

                            @jsulm
                            Is Qt 5.9.2 compiled under win7 or under win8?

                            J 1 Reply Last reply 24 Jul 2018, 10:09
                            0
                            • T TANG JI QIANG_CHINA_
                              24 Jul 2018, 09:15

                              @jsulm
                              Is Qt 5.9.2 compiled under win7 or under win8?

                              J Offline
                              J Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on 24 Jul 2018, 10:09 last edited by
                              #14

                              @TANG-JI-QIANG_CHINA_ That you need to ask Qt developers, but I guess Windows 7. Why? It should work on both without issues.

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

                              T 1 Reply Last reply 26 Jul 2018, 07:03
                              1
                              • J jsulm
                                24 Jul 2018, 10:09

                                @TANG-JI-QIANG_CHINA_ That you need to ask Qt developers, but I guess Windows 7. Why? It should work on both without issues.

                                T Offline
                                T Offline
                                TANG JI QIANG_CHINA_
                                wrote on 26 Jul 2018, 07:03 last edited by
                                #15

                                @jsulm
                                I have been able to compile QT correctly, thank you for your patience.

                                Pablo J. RoginaP 1 Reply Last reply 26 Jul 2018, 14:03
                                0
                                • T TANG JI QIANG_CHINA_
                                  26 Jul 2018, 07:03

                                  @jsulm
                                  I have been able to compile QT correctly, thank you for your patience.

                                  Pablo J. RoginaP Offline
                                  Pablo J. RoginaP Offline
                                  Pablo J. Rogina
                                  wrote on 26 Jul 2018, 14:03 last edited by
                                  #16

                                  @TANG-JI-QIANG_CHINA_ so if your issue is solved please don't forget to mark your post as such. Thanks

                                  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
                                  1

                                  1/16

                                  23 Jul 2018, 08:05

                                  • Login

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