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. How to build and run simple qt application
Forum Updated to NodeBB v4.3 + New Features

How to build and run simple qt application

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 275 Views 2 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.
  • R Offline
    R Offline
    rajendrasp79
    wrote on last edited by
    #1

    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\2dpainting.pro -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\2dpainting.pro -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.

    Thanks

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

      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.

      1 Reply Last reply
      2
      • R Offline
        R Offline
        rajendrasp79
        wrote on last edited by
        #3

        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.

        Pablo J. RoginaP 1 Reply Last reply
        2
        • R rajendrasp79

          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.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

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

          it is working fine.

          so please mark your issue as solved then, thanks.

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          1

          • Login

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