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

compile Qt error

Scheduled Pinned Locked Moved Unsolved General and Desktop
16 Posts 5 Posters 2.6k 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.
  • T Offline
    T Offline
    TANG JI QIANG_CHINA_
    wrote on 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
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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 last edited by
        #3

        some bug in qt

        mrjjM 1 Reply Last reply
        0
        • T TANG JI QIANG_CHINA_

          some bug in qt

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on 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
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on 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
            1
            • SGaistS SGaist

              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 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.

              jsulmJ 1 Reply Last reply
              0
              • T TANG JI QIANG_CHINA_

                @SGaist

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

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on 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
                0
                • jsulmJ jsulm

                  @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 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%)

                  jsulmJ T 2 Replies Last reply
                  0
                  • T TANG JI QIANG_CHINA_

                    @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%)

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 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_

                      @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 last edited by
                      #10

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

                      jsulmJ 1 Reply Last reply
                      0
                      • T TANG JI QIANG_CHINA_

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

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 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
                        0
                        • jsulmJ jsulm

                          @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 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
                          • jsulmJ jsulm

                            @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 last edited by
                            #13

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

                            jsulmJ 1 Reply Last reply
                            0
                            • T TANG JI QIANG_CHINA_

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

                              jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on 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
                              1
                              • jsulmJ jsulm

                                @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 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
                                0
                                • T TANG JI QIANG_CHINA_

                                  @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 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

                                  • Login

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