Install QT 5.0 on windows 7 64bit



  • Hi All,
    I want to install QT 5.0 on windows 7 64bit.
    I downloaded qt-windows-opensource-5.0.0-beta1-offline.exe and trying to set compiler path for creator 2.6.
    I get error no compiler found.
    Please help me out.its urgent.

    Any other way to start developing QML appa QTQuicK 2.0



  • Install a C++ compiler.. it is not part of either the Qt libraries or Qt Creator.



  • Hi Chris,

    Can I know the Link and version for c++ compiler.

    please help me out.



  • You either go for "MinGW":http://mingw-w64.sourceforge.net/ or "MSVC":http://www.microsoft.com/en-us/download/details.aspx?id=8442, both are free for commercial and non-commercial use.


  • Moderators

    Try Visual C++ (MSVC) 2010, it is easier to set up for Qt 5 than MinGW (for now) Edit: ...because the beta1 installer doesn't include Qt for MinGW

    -Lukas, that link is for the Windows SDK, not MSVC. The download link is at http://www.microsoft.com/visualstudio/eng/downloads- Edit: Sorry, use Lukas' link



  • [quote author="JKSH" date="1349327887"]Try Visual C++ (MSVC) 2010, it is easier to set up for Qt 5 than MinGW (for now).[/quote]That's a matter of opinion.

    [quote author="JKSH" date="1349327887"]Lukas, that link is for the Windows SDK, not MSVC. The download link is at http://www.microsoft.com/visualstudio/eng/downloads[/quote]
    It is, because MSVC is part of the Windows SDK. There is no need to download and/or install VisualStudio.


  • Moderators

    I see; my bad. Previous post updated.



  • Hi ALL,

    In installed Windows 7 for MSVC compiler when I try to create new Application for QT/QML I getting following error:

    22:41:33: Running steps for project untitled3...
    22:41:33: Starting: "C:\Users\mara\Qt5.0.0beta1\Desktop\Qt\5.0.0-beta1\msvc2010\bin\qmake.exe" C:\Users\mara\Desktop\untitled3\untitled3.pro -r -spec win32-g++
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_3d.pri:10: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qt3d/mkspecs/modules-inst/qt_3d.pri

    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_designer.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qttools/mkspecs/modules-inst/qt_designer.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_designercomponents.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qttools/mkspecs/modules-inst/qt_designercomponents.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_feedback.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtfeedback/mkspecs/modules-inst/qt_feedback.pri

    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_organizer.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtpim/mkspecs/modules-inst/qt_organizer.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_platformsupport.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtbase/mkspecs/modules-inst/qt_platformsupport.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_printsupport.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtbase/mkspecs/modules-inst/qt_printsupport.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_publishsubscribe.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtsystems/mkspecs/modules-inst/qt_publishsubscribe.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_qml.pri:10: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtdeclarative/mkspecs/modules-inst/qt_qml.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_qmldevtools.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtdeclarative/mkspecs/modules-inst/qt_qmldevtools.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_qmltest.pri:10: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtdeclarative/mkspecs/modules-inst/qt_qmltest.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_qtmultimediaquicktools.pri:10: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtmultimedia/mkspecs/modules-inst/qt_qtmultimediaquicktools.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_quick.pri:10: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtdeclarative/mkspecs/modules-inst/qt_quick.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_quick1.pri:10: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtquick1/mkspecs/modules-inst/qt_quick1.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_quickparticles.pri:10: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtdeclarative/mkspecs/modules-inst/qt_quickparticles.pri

    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_versitorganizer.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtpim/mkspecs/modules-inst/qt_versitorganizer.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_widgets.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtbase/mkspecs/modules-inst/qt_widgets.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_xml.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtbase/mkspecs/modules-inst/qt_xml.pri
    WARNING: c:/Users/mara/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/msvc2010/mkspecs/modules/qt_xmlpatterns.pri:9: Unable to find file for inclusion d:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtxmlpatterns/mkspecs/modules-inst/qt_xmlpatterns.pri
    Project ERROR: Unknown module(s) in QT: quick1 gui core
    22:41:33: The process "C:\Users\mara\Qt5.0.0beta1\Desktop\Qt\5.0.0-beta1\msvc2010\bin\qmake.exe" exited with code 2.
    Error while building/deploying project untitled3 (target: Desktop)
    When executing step 'qmake'



  • Thanks Lucas for the links.

    Anyway the steps to configure Qt5 (including installation of compiler) should be explained in the installation docs or README file.



  • Hi, I instalai and addin_1.2 and VS2010 and it worked well.
    I wanted to compile with mingw, msvc2010 not need.
    I tried and failed Qt5 with mingw.
    Anyone know how to use mingw with Qt5?



  • Here is the build of Qt5.0+msvc2010 and windows7 x64.

    11:33:55: Running steps for project untitled...
    11:33:55: Starting: "C:\qt\Qt5.0.0\5.0.0\msvc2010\bin\qmake.exe" C:\qt\projects\untitled\untitled.pro -r -spec win32-msvc2010
    11:33:56: The process "C:\qt\Qt5.0.0\5.0.0\msvc2010\bin\qmake.exe" exited normally.
    11:33:56: Starting: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"
    "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" -f Makefile.Release
    C:\Qt\Qt5.0.0\5.0.0\msvc2010\bin\uic.exe ..\untitled\mainwindow.ui -o ui_mainwindow.h
    C:\Qt\Qt5.0.0\5.0.0\msvc2010\bin\moc.exe -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtNetwork" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"release" -I"." -I"." -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -D_MSC_VER=1600 -DWIN32 ..\untitled\mainwindow.h -o release\moc_mainwindow.cpp
    cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtNetwork" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"release" -I"." -I"." -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Forelease\ @C:\Users\Portela\AppData\Local\Temp\nm86AF.tmp
    main.cpp
    mainwindow.cpp
    Generating Code...
    cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtWidgets" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtNetwork" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtGui" -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\include\QtCore" -I"release" -I"." -I"." -I"......\Qt\Qt5.0.0\5.0.0\msvc2010\mkspecs\win32-msvc2010" -Forelease\ @C:\Users\Portela\AppData\Local\Temp\nm8B52.tmp
    moc_mainwindow.cpp
    link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''" /MANIFEST /MANIFESTFILE:release\untitled.exe.embed.manifest /OUT:release\untitled.exe @C:\Users\Portela\AppData\Local\Temp\nm8CF8.tmp
    mt.exe /nologo /manifest release\untitled.exe.embed.manifest /outputresource:release\untitled.exe;1
    11:33:59: The process "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe" exited normally.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.