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 7629381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:49:17+00:00 2026-05-31T05:49:17+00:00

I have downloaded Eclipse with the plug-in to work with C/C++ over Windows. I

  • 0

I have downloaded Eclipse with the plug-in to work with C/C++ over Windows. I downloaded Cygwin (base and devel mostly) and works ok for a hello world application.

Now I want to work with Qt. Instead of downloading the framework, I downloaded the libraries “Qt libraries 4.8.0 for Windows (minGW 4.4, 354 MB)”, since the other option was the same thing for Visual Studio. I know this could be part of the problem, since it looks to be made only for minGW compiler. If I need to do things in a different way, please tell.

Then I restarted computer, opened Eclipse, wrote this Qt hello world for a new C++ application with Cygwin compiler:

#include <qapplication.h>
#include <qpushbutton.h>

using namespace std;

int main( int argc, char * args[] )
{
    cout << "Here goes!" << endl;

    QApplication app( argc, args );
    QPushButton hello( "Hello World!", 0 );
    hello.resize( 100, 50 );
    app.setMainWidget( &hello );
    hello.show();
    return app.exec();
}

And compiler doesn’t find the .h files included. Could it need me to add Qt\bin path to the enviroment variables?

Maybe I should stick to the Qt framework, as it looks like a compiler itself (I really don’t know how that works, since yesterday I thought Qt was just a library).

Please tell me what I’m doing wrong (I hope answer to this is not “EVERYTHING” hehe) and how can I make this work.

  • 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-31T05:49:18+00:00Added an answer on May 31, 2026 at 5:49 am

    The QT framework implements a meta-language over the top of C++ which QT uses to create its event handling framework (google qt slots and signals for more information). Standard compilers such as G++ don’t understand this meta-language so it has to be translated first. You can do this through eclipse by maintaining your own makefile and running QT’s Meta-Object-Compiler over the top of the code before you compile it (see this page for more details).

    My approach would be to use the QTCreator toolkit to do your compilation, even if you don’t use it as your IDE. Also consider using Eclipse and qmake, which if I remember correctly, automatically uses the MOC translater as part of its process.

    Good luck!

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

Sidebar

Related Questions

I'm new to Apex and have just downloaded Eclipse to get to work Eclipse
I have downloaded Eclipse Java EE version (3.5) and I would like to use
I have downloaded the latest Eclipse (3.6) for my Linux machine and extracted tar.gz
I am developing a plug-in in Eclipse RCP and I have to read and
i have downloaded Eclipse Galileo and install Android SDK for the first time. I
I have downloaded the google data API plugin for eclipse. While dealing with the
I have downloaded eclipse Helios with blackberry plugin,now i need to run a sample
I have downloaded eclipse i'm trying to create a form in eclipse, where i
Which is the best base java IDE (eclipse, Netbean) for developing spring based application
I have downloaded eclipse 3.4 (java version) for MacOSX (carbon). I have tried to

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.