Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to install and use Qt 5.10 (for desktop) in Qt Creator 4.5.0?
Forum Updated to NodeBB v4.3 + New Features

How to install and use Qt 5.10 (for desktop) in Qt Creator 4.5.0?

Scheduled Pinned Locked Moved Solved Installation and Deployment
13 Posts 4 Posters 6.5k 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.
  • W Offline
    W Offline
    Wodzu
    wrote on last edited by
    #1

    Hello.

    I am kindly ask for help with installation of Qt 5.10. Currently I am using Qt 5.5 and MSVC2013 32bit. However I would like to switch to MSVC2017 32bit and I am bit puzzled how to do this.

    I've updated MaintenanceTool.exe to the latest version and here is what I am seeing:

    0_1513519158743_QtInstallation.PNG

    What should I check if I want to develop for desktop? Another thing which is worrying me is that I don't see MSVC 2017 32-bit. I want to use 32 bit compiler, is it possible?

    Best regards.

    As above so below...

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      Since vs2015 and vs2017 are compatible, you should be able to use
      MSVC 2015 32-bit with visual studio 2017. ( that you install your self)

      That is all you need for desktop.
      Update/install VS 2017 from MS first
      then the Qt binary.
      That should make sure it pick up the kit correctly.

      1 Reply Last reply
      2
      • W Offline
        W Offline
        Wodzu
        wrote on last edited by
        #3

        Hi @mrjj (nice hat BTW ;) ) I didn't know about this compatibility. But here I see a bunch of whole new things added:
        https://docs.microsoft.com/en-us/cpp/what-s-new-for-visual-cpp-in-visual-studio

        I don't understand, is 32 bit compiler no longer supported?:(

        As above so below...

        aha_1980A mrjjM 2 Replies Last reply
        0
        • W Wodzu

          Hi @mrjj (nice hat BTW ;) ) I didn't know about this compatibility. But here I see a bunch of whole new things added:
          https://docs.microsoft.com/en-us/cpp/what-s-new-for-visual-cpp-in-visual-studio

          I don't understand, is 32 bit compiler no longer supported?:(

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

          @Wodzu said in How to install and use Qt 5.10 (for desktop) in Qt Creator 4.5.0?:

          I don't understand, is 32 bit compiler no longer supported?:(

          It is still supported, there is just no prebuild binary (lack of resources). You can build Qt from source if you need 32bit with MSVC2017.

          Qt has to stay free or it will die.

          1 Reply Last reply
          2
          • W Wodzu

            Hi @mrjj (nice hat BTW ;) ) I didn't know about this compatibility. But here I see a bunch of whole new things added:
            https://docs.microsoft.com/en-us/cpp/what-s-new-for-visual-cpp-in-visual-studio

            I don't understand, is 32 bit compiler no longer supported?:(

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Wodzu
            Well its first time any visual studio was compatible with a newer/older one in the binary sense.
            I have only seen people use Qt Vs2015 64bit with studio 2017 compiler.
            I think the 2015 32 bit should also work but i have not tried it personally.

            So install it and see after you installed studio 2017.

            As far as i know visual studio still support 32 bit development.

            W 1 Reply Last reply
            2
            • mrjjM mrjj

              @Wodzu
              Well its first time any visual studio was compatible with a newer/older one in the binary sense.
              I have only seen people use Qt Vs2015 64bit with studio 2017 compiler.
              I think the 2015 32 bit should also work but i have not tried it personally.

              So install it and see after you installed studio 2017.

              As far as i know visual studio still support 32 bit development.

              W Offline
              W Offline
              Wodzu
              wrote on last edited by Wodzu
              #6

              @mrjj said in How to install and use Qt 5.10 (for desktop) in Qt Creator 4.5.0?:

              As far as i know visual studio still support 32 bit development.

              I think you've misunderstood me. I thought that I can use VS2017 32bit compiler in Qt Creator, but @aha_1980 explained that to me. I should try to build Qt from source.

              In a meantime I've installed MS2017 64bit and I see it as an Auto-detected kit in Qt Creator. However, I don't know how to use it for my current project? I can only select two kits bot for VS2013. How to add 3rd kit to my project?

              Ok, found it:http://doc.qt.io/qtcreator/creator-configuring-projects.html

              Thanks:)

              As above so below...

              mrjjM 1 Reply Last reply
              1
              • W Wodzu

                @mrjj said in How to install and use Qt 5.10 (for desktop) in Qt Creator 4.5.0?:

                As far as i know visual studio still support 32 bit development.

                I think you've misunderstood me. I thought that I can use VS2017 32bit compiler in Qt Creator, but @aha_1980 explained that to me. I should try to build Qt from source.

                In a meantime I've installed MS2017 64bit and I see it as an Auto-detected kit in Qt Creator. However, I don't know how to use it for my current project? I can only select two kits bot for VS2013. How to add 3rd kit to my project?

                Ok, found it:http://doc.qt.io/qtcreator/creator-configuring-projects.html

                Thanks:)

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by mrjj
                #7

                @Wodzu
                Hi
                @aha_1980 said to have Qt 2017 32-bit prebuild, (there is only a 2015 32 bit prebuild) you can
                compile Qt yourself. (and have a true 32 bit 2017 )

                However, the prebuild Qt vs2015 32 bit might work with the visual studio 2017 compiler (for first time)

                So if you install Qt 2015-32bit prebuild and visual studio 2017 - it should work.

                Try to delete the .user file so it lets you select compiler again.
                Also go to options in Creator and see if the 2017 compiler is detected. (oh you did)
                http://doc.qt.io/qtcreator/creator-targets.html

                W 1 Reply Last reply
                2
                • mrjjM mrjj

                  @Wodzu
                  Hi
                  @aha_1980 said to have Qt 2017 32-bit prebuild, (there is only a 2015 32 bit prebuild) you can
                  compile Qt yourself. (and have a true 32 bit 2017 )

                  However, the prebuild Qt vs2015 32 bit might work with the visual studio 2017 compiler (for first time)

                  So if you install Qt 2015-32bit prebuild and visual studio 2017 - it should work.

                  Try to delete the .user file so it lets you select compiler again.
                  Also go to options in Creator and see if the 2017 compiler is detected. (oh you did)
                  http://doc.qt.io/qtcreator/creator-targets.html

                  W Offline
                  W Offline
                  Wodzu
                  wrote on last edited by
                  #8

                  @mrjj

                  Thank you for your patience. I think I understand now. I should download Qt 5.10 for MSVC2015 32bit and then manually create kit and pick VS2017 32 bit compiler and it should work because both compilers are binary compatibile. :)

                  Thank you.

                  As above so below...

                  mrjjM 1 Reply Last reply
                  0
                  • W Wodzu

                    @mrjj

                    Thank you for your patience. I think I understand now. I should download Qt 5.10 for MSVC2015 32bit and then manually create kit and pick VS2017 32 bit compiler and it should work because both compilers are binary compatibile. :)

                    Thank you.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Wodzu
                    Np. We are here to help.
                    Exactly :)
                    Normally it will detect the new 2017 compiler and its ready for use but else yes just
                    add the kit by hand and you should be good to go :)

                    Maybe i should also try the new 2017 compiler :)

                    1 Reply Last reply
                    1
                    • 6thC6 Offline
                      6thC6 Offline
                      6thC
                      wrote on last edited by
                      #10

                      @mrjj said in How to install and use Qt 5.10 (for desktop) in Qt Creator 4.5.0?:

                      Maybe i should also try the new 2017 compiler :)

                      Bit of a derailing comment, but I'd mention ++17 is probably worth a try! I just have been reading some of the new 17 lib features today:
                      https://isocpp.org/files/papers/p0636r0.html
                      which led me to:
                      https://stackoverflow.com/questions/36246300/parallel-loops-in-c?#answer-45773308
                      then:
                      http://en.cppreference.com/w/cpp/algorithm/execution_policy_tag_t

                      I've blown myself up a couple times just learning mutexes ... getting myself into deadlocks and read access violations - it's been an enlightening year! I maybe diving too fast into Parallelism... but you (read: "I do") have to learn from the start and it might as well be now.

                      The change from 15 to 17 was uneventful for me. I'm using c++&qml: Network/UDP, QtCharts, Widgets, Quick Controls2 ... currently, I can switch back to run 15 but I stay 17 now, and all under Windows && Linux (maybe more) but at least on compilers GCC/MinGw/MSVC64 - :-) (what a time to be alive)!

                      mrjjM 1 Reply Last reply
                      0
                      • 6thC6 6thC

                        @mrjj said in How to install and use Qt 5.10 (for desktop) in Qt Creator 4.5.0?:

                        Maybe i should also try the new 2017 compiler :)

                        Bit of a derailing comment, but I'd mention ++17 is probably worth a try! I just have been reading some of the new 17 lib features today:
                        https://isocpp.org/files/papers/p0636r0.html
                        which led me to:
                        https://stackoverflow.com/questions/36246300/parallel-loops-in-c?#answer-45773308
                        then:
                        http://en.cppreference.com/w/cpp/algorithm/execution_policy_tag_t

                        I've blown myself up a couple times just learning mutexes ... getting myself into deadlocks and read access violations - it's been an enlightening year! I maybe diving too fast into Parallelism... but you (read: "I do") have to learn from the start and it might as well be now.

                        The change from 15 to 17 was uneventful for me. I'm using c++&qml: Network/UDP, QtCharts, Widgets, Quick Controls2 ... currently, I can switch back to run 15 but I stay 17 now, and all under Windows && Linux (maybe more) but at least on compilers GCC/MinGw/MSVC64 - :-) (what a time to be alive)!

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @6thC
                        Thank you for your input.
                        Indeed its a good time to be alive :)

                        That looks might interesting with parallel loops

                        I must confess the single new feature in c++ after 98 i love the most is

                        std::string unescaped= 
                        R"(
                        { "name":"John", "age":31, "city":"New York" };
                        )";
                        
                        1 Reply Last reply
                        0
                        • 6thC6 Offline
                          6thC6 Offline
                          6thC
                          wrote on last edited by
                          #12

                          Range loops are pretty cool too - the little things that make life so much easier/neater hey!

                          mrjjM 1 Reply Last reply
                          0
                          • 6thC6 6thC

                            Range loops are pretty cool too - the little things that make life so much easier/neater hey!

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            @6thC
                            yeah makes code nice to look at.
                            also auto for template iterators are nice.
                            for c++2020 i wish they give enum class a toStr() function. :)

                            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