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. This Qt version is not compatible to your current Visual Studio???
Forum Updated to NodeBB v4.3 + New Features

This Qt version is not compatible to your current Visual Studio???

Scheduled Pinned Locked Moved Installation and Deployment
13 Posts 4 Posters 13.0k 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.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on last edited by
    #4

    I've used the VS2008 version with VS2010 SP1 since April, but I have compiled Qt. I also tried compiling Qt on my laptop but to no avail... perhaps I should try to compile another version, but the VS version is currently working fine under Win 7 64bit VS2010 SP1 - same as the laptop - and no, I do not have VS2008. Will try compiling the plain package tomorrow, hope it works, cuz I will be dropping the PC in about 2 weeks.

    1 Reply Last reply
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on last edited by
      #5

      Zlatomir - I had the latest add-on, and I too suspected it might be a bug, because initially, the add-on accepted the Qt libraries even thou they did not work in VS, but after I removed the Qt entry and added it anew the add-in spewed out that incompatibility message I posted. It should be a bug considering the same VS+Qt combo runs on my desktop and only fails on the laptop.

      1 Reply Last reply
      0
      • ZlatomirZ Offline
        ZlatomirZ Offline
        Zlatomir
        wrote on last edited by
        #6

        Have you tried to redownload and reinstall the addin?
        As far as i remember the version number didn't change when the bug was solved, so you can have "latest" 1.1.9 with the bug - and the one that can be downloaded now is still 1.1.9 with the bug solved.

        LE: Other option is to try with an older version of the add-in

        https://forum.qt.io/category/41/romanian

        1 Reply Last reply
        0
        • ? This user is from outside of this forum
          ? This user is from outside of this forum
          Guest
          wrote on last edited by
          #7

          OK, so, I downloaded the vanilla sources and compiled Qt all over again, and this time the add-in is working fine, accepting the Qt folder without version build error messages.

          However, opening even the simplest projects still reveals problems. I get an error on the first line of my main.cpp file, which is #include <QApplication>, basically despite the working add-in and compiled libraries, I get errors on every <> include, missing methods and so on...

          Any ideas?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on last edited by
            #8

            Did you create a Qt project? If no, the Qt headers are missing from the include path.

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0
            • ? This user is from outside of this forum
              ? This user is from outside of this forum
              Guest
              wrote on last edited by
              #9

              Well, I am opening VS projects I have done on my PC and are currently working just fine on my PC with Qt 4.7.2. Is there a reason a project which works fine on my PC fails on my laptop, the only difference is on the PC I have Qt 4.7.2 for VC recompiled, on the laptop 4.7.4 everywhere compiled, everything else is identical? If so, what steps do I need to take to be able to migrate my projects to my laptop?

              I have noticed when I create a new Qt project on the laptop it is all working fine, however, instead of #include <QApplication> the Qt project template uses #include <QtGui/QApplication>, I have tried modifying the includes on my existing projects in the same manner but to no avail... So current laptop config has no problem creating new projects but is not happy with already existing Qt projects which work just fine on my PC

              1 Reply Last reply
              0
              • G Offline
                G Offline
                goetz
                wrote on last edited by
                #10

                You can look at the project settings whether the Qt dirs are included in the header include path. If not, something is wrong, if yes, maybe your Qt version is different or missing to the plugin, you will have to add the path to your installation then.

                http://www.catb.org/~esr/faqs/smart-questions.html

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  koahnig
                  wrote on last edited by
                  #11

                  It could be that the "Qt Project settings" "Properties" are assigned to a specific version of Qt in your project. When you transfer the project to another PC it will carry on these settings. When the very same version is not available on the new PC you got problems. If I remember correctly are the error messages pointing somehow to the right, but with a number of subprojects it becomes a little obscure.

                  You should check under in menu "Qt" the "Qt Project Settings" the version assigned. After using specific versions there, I have switched to "$(DefaultQtVersion)". It will use then the Default version assigned in "Qt Options" in menu "Qt".

                  This change cured version conflicts when moving source between different machines awith different Qt versions and target platforms.

                  Vote the answer(s) that helped you to solve your issue(s)

                  1 Reply Last reply
                  0
                  • ? This user is from outside of this forum
                    ? This user is from outside of this forum
                    Guest
                    wrote on last edited by
                    #12

                    Well, this is strange...

                    After I switched to DefaultQtVersion I was able to build an existing project and it seems to be running fine, and yet VS underscores the #include <QApplication> as an error, and when I hove over it, the tip says "error: cannot open source file "QApllication""

                    Anyway, thanks a lot, I am happy that it is finally working, my previous projects are not that important, basically exercises, since I am still learning, however it was kind of annoying to not be able to transfer existing projects and have them working.

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      HarrySatt
                      wrote on last edited by
                      #13

                      After nmake install I start MS VISUAL Studio 2010 but it is not possible to use that version of Qt with Qt options Add. The error is C:\Qt\5.0.0-x64-rc2-opengl-mysql\qmake.exe could not be ...
                      So I am not abel to use this installation. Curious

                      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