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. Can't install Qt 5.1.1 VS 2012
Qt 6.11 is out! See what's new in the release blog

Can't install Qt 5.1.1 VS 2012

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 2.2k 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.
  • M Offline
    M Offline
    maxnova
    wrote on last edited by
    #1

    Hello, I'm pretty new to Qt. I have Windows 8.1 64-bit and Visual Studio 2012 Ultimate. I downloaded Qt 5.1.1 for Windows 32-bit (VS 2012) and installed the file. Next, I tried to create a new Qt Gui Application but when I built the project, the compile output showed:

    @08:45:42: Running steps for project application...
    08:45:42: Configuration unchanged, skipping qmake step.
    08:45:42: Starting: "C:\Qt\Qt5.1.1\Tools\QtCreator\bin\jom.exe"
    C:\Qt\Qt5.1.1\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\QtANGLE" -I"........\include\QtCore" -I"debug" -I"." -I"........\mkspecs\win32-msvc2012" -Fodebug\ @C:\Users\ANDRSE~1\AppData\Local\Temp\main.obj.7968.31.jom
    'cl' is not recognized as an internal or external command,
    operable program or batch file.
    jom: C:\Qt\Qt5.1.1\5.1.1\msvc2012\examples\widgets\mainwindows\build-application-Desktop_Qt_5_1_1_MSVC2012_32bit-Debug\Makefile.Debug [debug\main.obj] Error 1
    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\QtANGLE" -I"........\include\QtCore" -I"debug" -I"." -I"........\mkspecs\win32-msvc2012" -Fodebug\ @C:\Users\ANDRSE~1\AppData\Local\Temp\mainwindow.obj.7968.31.jom
    'cl' is not recognized as an internal or external command,
    operable program or batch file.
    'cl' is not recognized as an internal or external command,
    operable program or batch file.
    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\QtANGLE" -I"........\include\QtCore" -I"debug" -I"." -I"........\mkspecs\win32-msvc2012" -Fodebug\ @C:\Users\ANDRSE~1\AppData\Local\Temp\qrc_application.obj.7968.46.jom
    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\QtANGLE" -I"........\include\QtCore" -I"debug" -I"." -I"........\mkspecs\win32-msvc2012" -Fodebug\ @C:\Users\ANDRSE~1\AppData\Local\Temp\moc_mainwindow.obj.7968.62.jom
    'cl' is not recognized as an internal or external command,
    operable program or batch file.
    jom: C:\Qt\Qt5.1.1\5.1.1\msvc2012\examples\widgets\mainwindows\build-application-Desktop_Qt_5_1_1_MSVC2012_32bit-Debug\Makefile.Debug [debug\mainwindow.obj] Error 1@

    What should I do?

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

      Hi and welcome to devnet,

      Silly question but are you sure that visual studio is installed correctly ?

      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
      • M Offline
        M Offline
        maxnova
        wrote on last edited by
        #3

        Yes. I have been watching videos about how to install Qt 5.1.1 VS. All videos are like this:

        1. Install Visual Studio.
        2. Install Qt.
        3. Create a new Qt Gui Application.
        4. Run.
        5. It works.

        Even the examples don't build. Apparently, it's a problem with jom. Thanks for answer.

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

          There's something that seems misconfigured since cl is not found… Maybe some path not setup correctly.

          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

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved