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. SOLVED Qt5 not working out of the box
Forum Updated to NodeBB v4.3 + New Features

SOLVED Qt5 not working out of the box

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 4.5k 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.
  • S Offline
    S Offline
    SergioBasurco
    wrote on last edited by
    #1

    Hello, I am trying to use Qt5 for the first time. I am using Windows 8 and have installed Visual Studio 2010 Ultimate. When I open a project in Qt I get the following

    @---------------------------
    cl.exe - System Error

    The program can't start because mspdb110.dll is missing from your computer. Try reinstalling the program to fix this problem.

    OK
    ---------------------------@

    I have understood that I need to run vcvarsall.bat from the Visual Studio folder, how can I permanently fix this? I have found that one solution would be manually changing the path for environment variables. But I also found this is not advisable.

    Also when I try to build any project I get the following errors, which may be caused by the first one:

    @10:34:43: Running steps for project addressbook...
    10:34:43: Starting: "C:\Qt\Qt5.0.0\5.0.0\msvc2010\bin\qmake.exe" C:\Qt\Qt5.0.0\5.0.0\msvc2010\examples\widgets\itemviews\addressbook\addressbook.pro -r -spec win32-msvc2010 "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"
    10:34:44: The process "C:\Qt\Qt5.0.0\5.0.0\msvc2010\bin\qmake.exe" exited normally.
    10:34:44: Starting: "C:\Qt\Qt5.0.0\Tools\QtCreator\bin\jom.exe"
    C:\Qt\Qt5.0.0\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
    cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"........\include" -I"........\include\QtWidgets" -I"........\include\QtGui" -I"........\include\QtCore" -I"debug" -I"." -I"........\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\SERGIO~1\AppData\Local\Temp\adddialog.obj.8392.16.jom
    jom: C:\Qt\Qt5.0.0\5.0.0\msvc2010\examples\widgets\itemviews\addressbook-build-Desktop_Qt_5_0_0_MSVC2010_32bit_SDK-Debug\Makefile.Debug [debug\adddialog.obj] Error 2@

    Thanks!

    --------------------SOLVED

    I just added {VC}\Common7\IDE to my PATH and the cl problem was solved. On further Qt builds this could be implemented.
    Also, maybe not related, cmake has trouble adding paths to the PATH environment variable.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      You seem to by trying to work in Qt Creator: Creator should set up everything for you.

      Having said this: Creator will detect a lot of MSVC compilers, not all of which it seems to be detecting correctly in all possible ways in which they can be installed (at least there was a fix in the master branch for this recently). So try to switch to another similar compiler in Tools>Options>Build & Run>Kits and try again.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SergioBasurco
        wrote on last edited by
        #3

        Hello, I am using the creator.
        I can't find any other kit for the build & run options. Should I download an older version of Qt?

        "Screenshot":http://i46.tinypic.com/33y6ipx.png

        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