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. [solved] MSVC in Qt
Qt 6.11 is out! See what's new in the release blog

[solved] MSVC in Qt

Scheduled Pinned Locked Moved Installation and Deployment
10 Posts 3 Posters 5.7k 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.
  • C Offline
    C Offline
    Computerist
    wrote on last edited by
    #1

    I'm now trying to build the Qt with a MSVC complier to use it instead a MinGW... The reason: MinGW cannot accept a LIB files of an exterior developpers that contain a C++ definitions ("Quantum GIS API":http://qgis.org/).
    I'm using a last release of LGPL Qt 2010.05; When I start "configure -platform win32-msvc2003" or same command under MSVC, building crashed with the next messages:
    !http://img811.imageshack.us/img811/9431/qterror.png(Error message of Qt compilation)!
    And I'm in perplexity, what wrong there... I can't see a "multiple source files"... A "project.cpp" source file only...

    1 Reply Last reply
    0
    • L Offline
      L Offline
      ludek.vodicka
      wrote on last edited by
      #2

      You can try to remove all old compiled output files using

      @nmake distclean@

      in main qt directory. Also try to remove all *.tmp files and tmp directories. This sometimes helps when strange errors like yours appear ;-)

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

        Please, do yourself a favor and do not recompile the embedded sources. We have seen many problems when doing so on Qt DevNet.

        Get the source package from http://qt.nokia.com/downloads and compile that.

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

        1 Reply Last reply
        0
        • L Offline
          L Offline
          ludek.vodicka
          wrote on last edited by
          #4

          Just out of curiosity, where are available precompiled sources for VS2003/2005 - 32/64-bit version?

          When I started with Qt, I have to spend some time preparing my environment for VS2005 32 and 64bit, because I want to compile for both. Also when I recently migrated to VS2010, I simply recompile Qt sources and everything works perfect.

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

            The only open source package is for Visual Studio 2008.

            If you have VS 2003/2005 you will have to grab the source packages and build yourself.

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

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Computerist
              wrote on last edited by
              #6

              [quote author="Volker" date="1297685382"]Please, do yourself a favor and do not recompile the embedded sources. We have seen many problems when doing so on Qt DevNet.

              Get the source package from http://qt.nokia.com/downloads and compile that.[/quote]
              And what You named a "source package"? A "Qt Creator 2.0.1 Source Package (21 MB)" on that page? I'm downloaded the "Qt SDK for Windows* (322 MB)" and try it.

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

                Oh, no!

                Go to the download page mentioned, click on "Go LGPL"; on the right side is "Qt: Framework Only", at the end of the introductory paragraph are the links to a zip and a tar.bz2 with the sources for Qt 4.7.1 (only the libs, nothing else). Grab the ZIP file and follow the "Installing Qt on Windows":http://doc.qt.nokia.com/4.7/install-win.html guide.

                Also, I'd suggest to use Qt Creator 2.1 RC. Although it's "only" a release candidate, it's very stable and I use it for my daily work without problems ever since it was released.

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

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  Computerist
                  wrote on last edited by
                  #8

                  [quote author="Volker" date="1297688781"]Oh, no!

                  Go to the download page mentioned, click on "Go LGPL"; on the right side is "Qt: Framework Only", at the end of the introductory paragraph are the links to a zip and a tar.bz2 with the sources for Qt 4.7.1 (only the libs, nothing else). Grab the ZIP file and follow the "Installing Qt on Windows":http://doc.qt.nokia.com/4.7/install-win.html guide.

                  Also, I'd suggest to use Qt Creator 2.1 RC. Although it's "only" a release candidate, it's very stable and I use it for my daily work without problems ever since it was released.[/quote]
                  Okay, I hope that help me. And where I can download a Qt Creator 2.1 RC? I can't see any appropriate links on both download pages.

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

                    You can get 2.1 RC from http://qt.nokia.com/developer/qt-qtcreator-prerelease/

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

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      Computerist
                      wrote on last edited by
                      #10

                      [quote author="Volker" date="1297691016"]You can get 2.1 RC from http://qt.nokia.com/developer/qt-qtcreator-prerelease/[/quote]

                      I download and build a package of the libraries for MSVC and installed the QtCreator 2.1; Now all works good! Application compiled without errors. Thank You very much!

                      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