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 with VS Express
Forum Updated to NodeBB v4.3 + New Features

Qt with VS Express

Scheduled Pinned Locked Moved General and Desktop
30 Posts 7 Posters 10.9k Views 1 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.
  • musimbateM Offline
    musimbateM Offline
    musimbate
    wrote on last edited by
    #16

    Hello,

    [quote author="SGaist" date="1393754556"]Hi,

    Yes, VS2013 can be used with Qt. Currently the Qt Project doesn't offer official packages for 2013 but you can find "unofficial builds here":http://www.tver-soft.org/qt64 or build it yourself[/quote]

    This is a good link as I always find myself in need of unofficial builds.Thanks.

    [quote author="Jamiil" date="1394580915"]I tried compiling using mingw, and it worked :( I am back to the beginning. It looks like Qt does not work with the VS compiler?
    Any advice will be much appreciated.
    Thanks[/quote]

    If everything is installed correctly I think you might need to configure your kits as someone said before.Qt does work with the VS compiler.Go in the build and run settings of Qt Creator , in the compiler tab add the VS compiler.In the kits tab add a kit with the vs compiler and your Qt version.

    This "link":http://doc-snapshot.qt-project.org/qtcreator-3.0/creator-configuring.html says more .I hope this helps.
    Your question helped learn sth I didn't know :-)

    Why join the navy if you can be a pirate?-Steve Jobs

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jamiil
      wrote on last edited by
      #17

      [quote author="SGaist" date="1393754556"]Hi,

      Yes, VS2013 can be used with Qt. Currently the Qt Project doesn't offer official packages for 2013 but you can find "unofficial builds here":http://www.tver-soft.org/qt64 or build it yourself[/quote]

      First and foremost, thanks for the suggestion. I am using VSE2013 on a Win7-64bit machine and now I am ready to install qt-5.2.1-x64-msvc2013 as well as qt-creator-3.0.1-x64 from the above suggested web site. Is there any specific directory to which install in the qt kit? Is there any documentation material that would help answering this question and other that might pop up along the way?

      In reality, when you expect less you’ll be disappointed more. The lower you aim, the less fulfilling your life will be.

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

        You can use the defaults from the installer which work just fine. Otherwise it's up to you but there is one rule that you should not break:

        • No spaces in the path

        I know it may sound funny, but spaces in paths on windows are a known problem.

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

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jamiil
          wrote on last edited by
          #19

          Strange, I am unable to create a project
          !https://onedrive.live.com/?cid=8f8db1a4f405473f#cid=8F8DB1A4F405473F&id=8F8DB1A4F405473F!136(Intallation)!

          "Pics":https://onedrive.live.com/?cid=8f8db1a4f405473f#cid=8F8DB1A4F405473F&id=8F8DB1A4F405473F!136

          In reality, when you expect less you’ll be disappointed more. The lower you aim, the less fulfilling your life will be.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jamiil
            wrote on last edited by
            #20

            trying to get the right link "here":https://onedrive.live.com/?cid=8f8db1a4f405473f&mkt=en-CA#cid=8F8DB1A4F405473F&id=8F8DB1A4F405473F!136

            In reality, when you expect less you’ll be disappointed more. The lower you aim, the less fulfilling your life will be.

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #21

              Your Qt version is set to "None".

              Install Qt for MSVC 2013 x64, and select it in your "Desktop" kit.

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0
              • J Offline
                J Offline
                Jamiil
                wrote on last edited by
                #22

                Thanks for the help, however, I thought that those were the files I had downloaded.
                The name of the files are:
                qt-5.2.1-x64-msvc2013 and qt-creator-3.0.1-x64

                There are no other files there.

                In reality, when you expect less you’ll be disappointed more. The lower you aim, the less fulfilling your life will be.

                1 Reply Last reply
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #23

                  [quote author="JKSH" date="1395144907"]Your Qt version is set to "None".[/quote]See your first screenshot (Build & Run -> Kits). Change Qt version from "None" to "Qt 5.2.1"

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    Jamiil
                    wrote on last edited by
                    #24

                    Qt version is a pull down menu, which contains no other choice but 'none'. I clicked on the button next to the pull down menu box, 'Manage'. This takes me to a the 'QT Version' tab, which contains two columns (Auto-Detect and Manual) and three buttons on the right hand (Add..., Remove and Cleanup).
                    Selecting Auto-Detect/Manual and then clicking on the Add button, I am presented with a 'File Chooser' window with three directories (bin, lib and share). I checked the subdirectories in each of the above mention directories but to no avail.
                    Having said that, my question is: how do I change the Qt Version from 'None' to 'Qt 5.2.1'?
                    Thanks.

                    In reality, when you expect less you’ll be disappointed more. The lower you aim, the less fulfilling your life will be.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      andreyc
                      wrote on last edited by
                      #25

                      You need to find and choose a qmake.exe from your Qt installation in that "File Chooser".

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        Jamiil
                        wrote on last edited by
                        #26

                        Thanks, I got the setting right! :)
                        Now the problem starts. I get an error :(
                        bq. cl -c -nologo -Zm200 -Zc:wchar_t -FS -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc /Fddebug\Test.pdb -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_CORE_LIB -I"....\Qt64\qt-5.2.1-x64-msvc2013\qt-5.2.1-x64-msvc2013\include" -I"....\Qt64\qt-5.2.1-x64-msvc2013\qt-5.2.1-x64-msvc2013\include\QtCore" -I"debug" -I"." -I"....\Qt64\qt-5.2.1-x64-msvc2013\qt-5.2.1-x64-msvc2013\mkspecs\win32-msvc2013" -Fodebug\ @C:\Users\ARBOLO~1\AppData\Local\Temp\main.obj.41488.15.jom


                        'cl' is not recognized as an internal or external command,
                        operable program or batch file.
                        jom: D:\Temp\build-Test-Desktop-Debug\Makefile.Debug [debug\main.obj] Error 1
                        jom: D:\Temp\build-Test-Desktop-Debug\Makefile [debug] Error 2
                        19:45:58: The process "D:\Qt64\qt-creator-3.0.1-x64\bin\jom.exe" exited with code 2.
                        Error while building/deploying project Test (kit: Desktop)
                        When executing step 'Make'
                        19:45:58: Elapsed time: 00:00.


                        In reality, when you expect less you’ll be disappointed more. The lower you aim, the less fulfilling your life will be.

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          Jamiil
                          wrote on last edited by
                          #27

                          Wow, I am researching this error on bing.com, and I have found that when this problem comes up, all the suggestions and advices end right there.
                          http://qt-project.org/forums/viewthread/20117/
                          http://qt-project.org/forums/viewthread/14732

                          In reality, when you expect less you’ll be disappointed more. The lower you aim, the less fulfilling your life will be.

                          1 Reply Last reply
                          0
                          • J Offline
                            J Offline
                            Jamiil
                            wrote on last edited by
                            #28

                            "Run and Build":https://onedrive.live.com/?cid=8f8db1a4f405473f#cid=8F8DB1A4F405473F&id=8F8DB1A4F405473F!136

                            I would really like someone with experience resolving this error to give an opinion here. I have seen this problem being present in several places in the internet. None of them were resolved.

                            In reality, when you expect less you’ll be disappointed more. The lower you aim, the less fulfilling your life will be.

                            1 Reply Last reply
                            0
                            • JKSHJ Offline
                              JKSHJ Offline
                              JKSH
                              Moderators
                              wrote on last edited by
                              #29

                              I got the "'cl' is not recognized as an internal or external command, operable program or batch file" message once. For me, I fixed the problem by repairing my MSVC installation. I'm not sure if my solution will work for you though.

                              Anyway, someone has submitted a bug report, but the root cause hasn't been found yet: https://bugreports.qt-project.org/browse/QTCREATORBUG-11539 The reporter managed to work around the problem by launching Qt Creator from a batch script. See if that helps.

                              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                Jamiil
                                wrote on last edited by
                                #30

                                Ah! Thanks for the info. I checked it out and tried to duplicate the solution, but without good result.
                                However, before going any further I will rename this posting 'Att: Qt Engineers - No Visual Studio for Qt', so please follow the trail "here":http://qt-project.org/forums/viewthread/39893/.

                                Thanks everyone for the wonderful help, truly outstanding! and just to think no one here is getting paid, laudable, very much laudable.

                                In reality, when you expect less you’ll be disappointed more. The lower you aim, the less fulfilling your life will be.

                                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