Sign in to follow this  

Problem getting Qt to work on windows

This topic is 3110 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

After installing qt, I ran the configure file. I tried to run make, and it said:
cd src\winmain && mingw32-make -f Makefile
The system cannot find the path specified.
mingw32-make: *** [sub-winmain-make_default-ordered] Error 1

I have tried many different things to get it to make, and yet nothing works. Anybody have any idea why I am having problems getting qt to make, and subsequently qt projects cannot make either. Qmake works fine, it's just trying to make after that, that doesn't work. I have very little knowledge for this type of stuff. Thanks.

Share this post


Link to post
Share on other sites
Hah, I have had minGW set up and working for a very long time now. I have installed make many, many times, but it never seems to work right, no matter how I have configured it.

Share this post


Link to post
Share on other sites
I have had similar problems getting to install Qt on windows. I tried out cygwin too but that didn't work either.

So I finally installed an old version (3.3.4)of Qt which was designed to work with windows. You can get it here

Its basically a msvc.net project that builds out of the box giving you all the required libs. So no mingw or cygwin required. Hope this helps.

Share this post


Link to post
Share on other sites
I personally don't think that installing a very old QT version is the way to go. There are major improvements between the old Qt 3.x and the newer Qt 4.x versions.

I had the same issues when I installed Qt4 on my system about a year or two ago. AFAIR the trick was to use the Qt package that actually came with a bundled mingw version instead of using the one that shipped without it. While it should have worked in theory with the 2nd version as well, if you already had mingw installed, it did never work for me.

EDIT: I just checked the Qt website and they don't seem to offer these two versions anymore. I'm just downloading their latest release and will try to get it building with mingw here. Once I hopefully figured it out, I'll report back here.

Share this post


Link to post
Share on other sites
Have you tried compiling from Qt Creator? The Qt SDK comes with project files for Qt Creator. The Qt Creator Installer can also download and install MinGW for you. For me it worked right out of the box.

Share this post


Link to post
Share on other sites
Hmm, I just installed the latest qt release. After I entered the qt command prompt and built qt with the following line: configure -release -opensource

It seems to work just fine here. You can see all the possible build switches by running configure -help. How did you build qt?

Btw.: I installed mingw alongside with qt4, I simply checked the mingw option in the qt installer.

Share this post


Link to post
Share on other sites

This topic is 3110 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this