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-5.4.1 with vs2017 got error.
Forum Updated to NodeBB v4.3 + New Features

Compile qt-5.4.1 with vs2017 got error.

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 4 Posters 1.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.
  • jsulmJ jsulm

    @mic19 Try to use win32-msvc2015. VC++2015 and VC++2017 are compatible and I guess when Qt 5.4.1 was released where was no VS2017 yet.

    M Offline
    M Offline
    mic19
    wrote on last edited by
    #4

    @jsulm msvc2015 get the same error

    jsulmJ 1 Reply Last reply
    0
    • M mic19

      @jsulm msvc2015 get the same error

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

      @mic19 Can you upgrade to a newer Qt version?

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

      M 1 Reply Last reply
      0
      • jsulmJ jsulm

        @mic19 Can you upgrade to a newer Qt version?

        M Offline
        M Offline
        mic19
        wrote on last edited by
        #6

        @jsulm what can prove that qt5.4.1 is not supported on msvc2017

        jsulmJ aha_1980A 2 Replies Last reply
        0
        • M mic19

          @jsulm what can prove that qt5.4.1 is not supported on msvc2017

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

          @mic19 One way is to start the online installer, expand the Qt 5.4 subtree and see what is offered there.

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

          1 Reply Last reply
          2
          • M mic19

            @jsulm what can prove that qt5.4.1 is not supported on msvc2017

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by aha_1980
            #8

            @mic19

            Qt 5.4.1 was released four years ago.

            At this time, MSVC 2017 did not even exist, so why should this Qt version support it?

            Qt has to stay free or it will die.

            1 Reply Last reply
            2
            • M Offline
              M Offline
              mic19
              wrote on last edited by
              #9

              can i just modify some file and compile qt5.41 with vs2017? because change qt version may cause some new problem to my project.

              jsulmJ 1 Reply Last reply
              0
              • M mic19

                can i just modify some file and compile qt5.41 with vs2017? because change qt version may cause some new problem to my project.

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

                @mic19 Did you try win32-msvc2015 for -platform as I suggested before? It should work with VS2017.

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

                M 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @mic19 Did you try win32-msvc2015 for -platform as I suggested before? It should work with VS2017.

                  M Offline
                  M Offline
                  mic19
                  wrote on last edited by
                  #11

                  @jsulm yes, i had try that. but it is a unrecognized version like 'msvc2017'. 'Configureapp.cpp' proves that the max supported version is 2013.
                  0_1547711416348_f77f5cd5-4062-402d-a8c9-9e8f0e4ca949-image.png

                  jsulmJ J.HilkJ 2 Replies Last reply
                  0
                  • M mic19

                    @jsulm yes, i had try that. but it is a unrecognized version like 'msvc2017'. 'Configureapp.cpp' proves that the max supported version is 2013.
                    0_1547711416348_f77f5cd5-4062-402d-a8c9-9e8f0e4ca949-image.png

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

                    @mic19 In this case you either need to downgrade to VS2013 or maybe do some changes in mkspec/what ever to be able to build with VS2017.

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

                    1 Reply Last reply
                    1
                    • M mic19

                      @jsulm yes, i had try that. but it is a unrecognized version like 'msvc2017'. 'Configureapp.cpp' proves that the max supported version is 2013.
                      0_1547711416348_f77f5cd5-4062-402d-a8c9-9e8f0e4ca949-image.png

                      J.HilkJ Online
                      J.HilkJ Online
                      J.Hilk
                      Moderators
                      wrote on last edited by
                      #13

                      @mic19
                      I would suggest you to consider using Qt version 5.6.3

                      That's an LTS version (Long term support) that means 3 year bug fix support (till March 2019) it comes with msvc2013 and 2015 precompiled libs.


                      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                      Q: What's that?
                      A: It's blue light.
                      Q: What does it do?
                      A: It turns blue.

                      1 Reply Last reply
                      2

                      • Login

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