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

Qt failed to compile MSVC2017 X86 platform

Scheduled Pinned Locked Moved Unsolved General and Desktop
26 Posts 3 Posters 8.7k 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.
  • SGaistS SGaist

    Again, what version of OpenSSL are you using ? Because the 1.1 version broke API and ABI compatibility so if you want to use it you have to build Qt 5.10. Otherwise get the latest 1.0 version.

    J Offline
    J Offline
    jack9603301
    wrote on last edited by
    #6

    @SGaist Do you have QT 5.10 now? Like the latest is QT5.9.2, I'm using the latest OPENSSL 1.1.0g, using OPENSSL 1.0.2m should be able to? I'll try it

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #7

      5.10 Beta 4 was just released.

      Like I wrote before: Qt lower than 5.10 work only with OpenSSL 1.0.X

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

      J 1 Reply Last reply
      2
      • SGaistS SGaist

        5.10 Beta 4 was just released.

        Like I wrote before: Qt lower than 5.10 work only with OpenSSL 1.0.X

        J Offline
        J Offline
        jack9603301
        wrote on last edited by
        #8

        @SGaist Oh, to use the following things is a pre release version, the official version of the QT 5.9.2 option, but now has encountered new problems, encountered the following error at compile time:
        Renderer.obj: external symbol "error public: static struct LNK2001: cannot resolve QMetaObject const Qt3DCore:: Debug:: AspectCommandDebugger:: staticMetaObject (staticMetaObject@AspectCommandDebugger@Debug@Qt3DCore@@2UQMetaObject@@B?)
        ....\lib\Qt53DRenderd.dll: fatal error LNK1120: 1 external commands that cannot be resolved

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #9

          Just to be on the safe side, did you do a full clean re-build ?

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

          J 1 Reply Last reply
          0
          • SGaistS SGaist

            Just to be on the safe side, did you do a full clean re-build ?

            J Offline
            J Offline
            jack9603301
            wrote on last edited by
            #10

            @SGaist said in Qt failed to compile MSVC2017 X86 platform:

            Just to be on the safe side, did you do a full clean re-build ?

            Yes, I don't know why this happens when I open the -qt3d-profile-jobs. In the latest compilation operation, I don't want to open this option

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #11

              What do you mean by "open this option" ?

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

              J 3 Replies Last reply
              0
              • SGaistS SGaist

                What do you mean by "open this option" ?

                J Offline
                J Offline
                jack9603301
                wrote on last edited by
                #12
                This post is deleted!
                1 Reply Last reply
                0
                • SGaistS SGaist

                  What do you mean by "open this option" ?

                  J Offline
                  J Offline
                  jack9603301
                  wrote on last edited by
                  #13
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • SGaistS SGaist

                    What do you mean by "open this option" ?

                    J Offline
                    J Offline
                    jack9603301
                    wrote on last edited by
                    #14

                    @SGaist said in Qt failed to compile MSVC2017 X86 platform:

                    What do you mean by "open this option" ?

                    The configure script executed at compile time adds -qt3d-profile-jobs and -qt3d-profile-gl parameters to compile, but makes errors

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #15

                      AFAIK, you should be able to disable both through options.

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

                      J 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        AFAIK, you should be able to disable both through options.

                        J Offline
                        J Offline
                        jack9603301
                        wrote on last edited by
                        #16

                        @SGaist said in Qt failed to compile MSVC2017 X86 platform:

                        AFAIK, you should be able to disable both through options.

                        Yes, I'm not using it now

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #17

                          So the compilation goes further ?

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

                          J 2 Replies Last reply
                          0
                          • SGaistS SGaist

                            So the compilation goes further ?

                            J Offline
                            J Offline
                            jack9603301
                            wrote on last edited by
                            #18

                            @SGaist said in Qt failed to compile MSVC2017 X86 platform:

                            So the compilation goes further ?

                            Yes, the compilation is underway

                            1 Reply Last reply
                            0
                            • SGaistS SGaist

                              So the compilation goes further ?

                              J Offline
                              J Offline
                              jack9603301
                              wrote on last edited by
                              #19

                              @SGaist Why did I compile QT in qtwebengine chromium code problems caused by errors, do not know how you solve it? Do you need transcoding every time? The operating system I use is windows

                              1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #20

                                @jack9603301 said in Qt failed to compile MSVC2017 X86 platform:

                                @SGaist Why did I compile QT in qtwebengine chromium code problems caused by errors, do not know how you solve it? Do you need transcoding every time? The operating system I use is windows

                                Sorry, I don't understand what you wrote here.

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

                                J 1 Reply Last reply
                                0
                                • SGaistS SGaist

                                  @jack9603301 said in Qt failed to compile MSVC2017 X86 platform:

                                  @SGaist Why did I compile QT in qtwebengine chromium code problems caused by errors, do not know how you solve it? Do you need transcoding every time? The operating system I use is windows

                                  Sorry, I don't understand what you wrote here.

                                  J Offline
                                  J Offline
                                  jack9603301
                                  wrote on last edited by
                                  #21

                                  @SGaist said in Qt failed to compile MSVC2017 X86 platform:

                                  Sorry, I don't understand what you wrote here.

                                  In China, I do QT5.9.2 complete compile, but in the qtwebengine module compile compile error, error information from coding problems to grammatical errors are, what's the matter?

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • J jack9603301

                                    @SGaist said in Qt failed to compile MSVC2017 X86 platform:

                                    Sorry, I don't understand what you wrote here.

                                    In China, I do QT5.9.2 complete compile, but in the qtwebengine module compile compile error, error information from coding problems to grammatical errors are, what's the matter?

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

                                    @jack9603301 Can you post the errors?

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

                                    J 2 Replies Last reply
                                    0
                                    • jsulmJ jsulm

                                      @jack9603301 Can you post the errors?

                                      J Offline
                                      J Offline
                                      jack9603301
                                      wrote on last edited by
                                      #23

                                      @jsulm said in Qt failed to compile MSVC2017 X86 platform:

                                      Can you post the errors?

                                      Sorry, I checked the data myself. I'm trying to modify the operating system locale and recompile the QT, so I can't post the error prompt

                                      1 Reply Last reply
                                      0
                                      • jsulmJ jsulm

                                        @jack9603301 Can you post the errors?

                                        J Offline
                                        J Offline
                                        jack9603301
                                        wrote on last edited by
                                        #24

                                        @jsulm D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (46): error C2059: syntax error: "public""
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (48): error C4430: - int is assumed to be lack of the type specifier. Note: C++ does not support default int
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (48): error C2550: "cc:: IndexRect": constructor initializer list can only be used in constructor definitions
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (48): warning C4508: "cc:: IndexRect": the function should return a value; assume the "void" return type
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (47): error C3615: constexpr function "cc:: IndexRect" does not generate constant expressions
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (48): note: controls access to the end of the constexpr function, resulting in a failure
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (50): error C2588: ":: ~IndexRect": illegal global destructor
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (50): error C4430: - int is assumed to be lack of the type specifier. Note: C++ does not support default int
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (50): error C2610: "int cc:: IndexRect (void)": not a special member function that can be considered silently
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (52): error C2270: "left": modifiers are not allowed on non member functions
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (52): error C2065: "left_": undeclared identifier
                                        D:\qt\src\qt-everywhere-opensource-src-5.9.2\qtwebengine\src\3rdparty\chromium\cc\base\index_rect.h (52): error C3615: constexpr function "cc:: left" does not generate constant expressions

                                        1 Reply Last reply
                                        0
                                        • J Offline
                                          J Offline
                                          jack9603301
                                          wrote on last edited by
                                          #25

                                          The first full compilation of QT5.9.2 has been completed. Thank you

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