Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved C++ library included in version 14

    General and Desktop
    4
    9
    1720
    Loading More Posts
    • 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.
    • P
      Papa last edited by

      In my Win10 machine, I have installed
      Microsoft Visual Studio 11. 12 and 14
      Qt has chosen 11's include directory as its source for the C++ library, I would very much prefer to use the C++ library included in version 14. Is this possible?

      1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        Which version of Qt did you install?
        You must use Qt built for the Visual Studio version you want to use.
        If you use Visual Studio 2013 then you need Qt for that version.
        You can select Qt version in the online installer.

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

        1 Reply Last reply Reply Quote 0
        • Hamed.Masafi
          Hamed.Masafi last edited by

          In qt 5.4 add this line to pro file

          CONFIG += c++14
          

          Remote object sharing (OO RPC)
          http://forum.qt.io/topic/60680/remote-object-sharing-oo-rpc-solved

          Advanced, Powerful and easy to use ORM for Qt5
          https://forum.qt.io/topic/67417/advanced-powerful-and-easy-to-use-orm-for-qt5

          1 Reply Last reply Reply Quote 0
          • Chris Kawa
            Chris Kawa Moderators last edited by Chris Kawa

            @Hamed-Masafi OP is asking to choose a MSVC version 14.0 (VS2015), not a c++ language version. Besides, VS does not use any special switches to enable language version. It always uses the latest features it supports. That CONFIG switch is for GCC and Clang, which default to the c++98 standard.

            @Papa Qt Creater uses a concept of Kits. A kit is a collection of a compiler, debugger and Qt library compiled with that compiler version.
            If you have MSVC 14.0(VS2015) installed it should be auto detected on the "Compilers" tab. There's no Qt version pre-built with MSVC 14.0, so you'll have to compile it yourself. There's gonna be a pre-build package in Qt 5.6 in about a month. After ou have built Qt you can add it to the "Qt Versions" tab and then create a Kit that uses that compiler and Qt version. When you have a Kit set up it will be offered to you in the project creation wizard.

            jsulm 1 Reply Last reply Reply Quote 0
            • jsulm
              jsulm Lifetime Qt Champion @Chris Kawa last edited by

              @Chris-Kawa As far as I know there is already a Qt 5.6 beta build for VS 2015.

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

              1 Reply Last reply Reply Quote 0
              • Chris Kawa
                Chris Kawa Moderators last edited by

                @jsulm Yeah, but the question seems basic and I wouldn't recommend beta versions to beginners. The final 5.6 version is planned for 9th Feb.

                jsulm 1 Reply Last reply Reply Quote 0
                • jsulm
                  jsulm Lifetime Qt Champion @Chris Kawa last edited by

                  @Chris-Kawa But building Qt is not something I would ask a beginner to do :-)

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

                  1 Reply Last reply Reply Quote 0
                  • Chris Kawa
                    Chris Kawa Moderators last edited by

                    @jsulm touché :) I guess the best recommendation for now is to use VS2013 with the pre-build package until 5.6 comes out.

                    1 Reply Last reply Reply Quote 0
                    • P
                      Papa last edited by

                      Yes, I agree, using VS2013 for the time being is the most sensible decision.

                      Thanks kids for the help.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post