Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6752995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:06:33+00:00 2026-05-26T13:06:33+00:00

I downloaded Qt SDK and set up paths for qmake etc commands. Now I’m

  • 0

I downloaded Qt SDK and set up paths for qmake etc commands. Now I’m trying to compile “Hello World” program from command-line but don’t know how to do that in Windows.

In Linux, it’s very simple: qmake -project; qmake; make;

In Windows I tried: qmake -project; qmake; mingw32-make;
mingw32-make returns: “Nothing to be done for first”

Source code which I would like to compile is here:

#include <QtGui>
int main(int argc, char *argv[]) {
    QApplication app(argc, argv);
    QMainWindow mainWindow;
    mainWindow.setWindowTitle("Hello World!");
    mainWindow.show();
    return app.exec();
}

I know that I could use Qt Creator IDE but I would like to know how to compile Qt programs in command-line.

Anybody have experiences?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:06:34+00:00Added an answer on May 26, 2026 at 1:06 pm

    “Nothing to be done” can indicate that everything was already compiled.

    You can run mingw32-make clean and then mingw32-make again to check if that’s the case.

    Also check that the .pro file generated by qmake -project does list your .cpp file in the SOURCES variable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I downloaded the sample app from the latest facebook ios SDK. I set my
I am trying to get PhysX working using Ubuntu. First, I downloaded the SDK
I just downloaded the android sdk from the adnroid site and followed this tutorial
I am trying to use ASIO (Audio Stream Input/Output). I downloaded SDK, but because
Downloaded IOS5 SDK yesterday, and this code which I use to set my UIToolbar's
I have problem with fb sdk for Android (downloaded from http://github.com/facebook/facebook-android-sdk ). Tried to
I have downloaded the Phoenix SDK June 2008 (Tools for compilers) and when I'm
I've downloaded the Windows Media Center SDK and have looked through the documentation, but
I downloaded a pre-release version of the iPhone SDK and tried to update one
I downloaded the most recent version of Android for Linux (android-sdk_r05-linux_86.tgz). I was trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.