Nominate our 2022 Qt Champions!

How to build and run simple qt application

  • Hi,

    I have installed qt and trying to build one of the sample projects "2dpainting"
    However it is not completing the following step

    21:11:30: Starting: "C:\QtVs\5.0.1\msvc2010\bin\qmake.exe" C:\QtVs\5.0.1\msvc2010\examples\opengl\2dpainting\ -r -spec win32-g++ "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"

    qmake in the build steps is following command

    qmake.exe C:\QtVs\5.0.1\msvc2010\examples\opengl\2dpainting\ -r -spec win32-g++ "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"

    Can you please help in understanding what is going wrong?
    Any help will be really appreciated.


  • Lifetime Qt Champion

    Hi And welcome to the forums
    Is there any errors or similar ?

    Also I can see you took the visual studio Qt version.

    Do you have Visual Studio 2010 installed ?
    Its not included.

  • Thank you for your reply.

    I see now that Visual Studio 2010 is not installed on my machine. I have VS 2015 and 2019 installed. I just installed fresh Qt latest version and it is working fine.

    Thank you for providing help.

  • @rajendrasp79 said in How to build and run simple qt application:

    it is working fine.

    so please mark your issue as solved then, thanks.

Log in to reply