Friday, July 4th 2008, 8:58pm UTC+1

You are not logged in.

  • Login
  • Register

1

Tuesday, January 8th 2008, 5:55am

qt-x11-OS-4.3.3 on Cygwin? err: compiler not supported.

Hi Guys,

I have been trying to get Qt installed in Cygwin for days now. I can install it via binaries with MingW etc etc.. but that makes things alot more difficult for me later on. Plus I like to keep it all portable to a degree.

I have installed the full gcc-4.1.1, and yet I still get the following error:

Source code

1
2
3
4
5
6
7
8
9
#./configure

This is the Qt/X11 Open Source Edition.

        The specified system/compiler is not supported:

               /home/ghost/qt-x11-opensource-src-4.3.3/mkspecs/cygwin-g++

       Please see the README file for a complete list.



I have confirmed that the correct paths are used as such:

Source code

1
2
#which g++
/usr/local/bin/g++


Source code

1
2
#g++ version
g++ (GCC) 4.1.1




Thanks for your time, if this works, I might post a walkthrough, there certainly isn't one anywhere else! hehe


Regards
=^_^=
  • Go to the top of the page

stinos

Intermediate

2

Tuesday, January 8th 2008, 7:48am

afaik you should download qt-win-opensource-src instead of qt-x11-opensource-src
madinsjamania
  • Go to the top of the page

3

Tuesday, January 8th 2008, 9:42pm

Thanks Stinos.

I have the Win32 binary, and it works, but I would prefer to keep it all inside Cygwin if possible.

Worst comes to worst then I can take that option, but I have to migrate Cygwin shortly after confirming the setup works. I am installing Bacula with BAT (the gui) but it requires a *nix environment, and my boss refuses to set up a *nix box.... So here I am stuck trying to do it all on Cygwin.

=^_^=
  • Go to the top of the page

stinos

Intermediate

4

Wednesday, January 9th 2008, 9:45am

Quoted

Originally posted by ghostcorps
I have the Win32 binary, and it works, but I would prefer to keep it all inside Cygwin if possible.


don't download the binary, download the source version.
qt-win-opensource-src-4.xxx supports the mingw compiler.
madinsjamania
  • Go to the top of the page

5

Wednesday, January 9th 2008, 9:50pm

Sweeet!

thanks :)


I'll let you know how it goes. I am told Cygwin still won't handle all the libraries in Qt4 yet, but we will see...

thanks again

=^_^=
  • Go to the top of the page

6

Wednesday, January 9th 2008, 11:12pm

Helloo again, have you actually installed this source on Cygwin yet?

When I run ./configure, it fails due to not having the env set.

The only way I could find to do this was to first install qt3, so I had a qmake to use. 'env' shows that I have set QMAKESPEC=/lib/qt3/mkspecs/cygwin-g++.

But now running ./configure says that cygwin-g++ variable is not a supported platform.

I assume I am doing something wrong but I can't see it. Why else would there be a qt4 src for windows? is there some other way other that Cygwin to install it?

This post has been edited 1 times, last edit by "ghostcorps" (Jan 9th 2008, 11:18pm)

  • Go to the top of the page

stinos

Intermediate

7

Thursday, January 10th 2008, 9:31am

Quoted

Originally posted by ghostcorps
Helloo again, have you actually installed this source on Cygwin yet?


no

Quoted


When I run ./configure, it fails due to not having the env set.

The only way I could find to do this was to first install qt3, so I had a qmake to use. 'env' shows that I have set QMAKESPEC=/lib/qt3/mkspecs/cygwin-g++.

But now running ./configure says that cygwin-g++ variable is not a supported platform.

I assume I am doing something wrong but I can't see it. Why else would there be a qt4 src for windows? is there some other way other that Cygwin to install it?


maybe I was not too clear: I'm not sure if it's possible to compile qt4 on cygwin, but you can compile it using mingw, which has nothing to do with cygwin.
anyway, cygwin is not really too usefull: for simple things it's ok, but it's far from a complete unix environment, once you want to talk to hardware or so you're busted.
if you really want to do serious development (including a decent debugger) on windows, you're better off with sticking to something native. Eg, visual studio 2005 express is free, yet extremely powerful, and it works fine with Qt4.
madinsjamania
  • Go to the top of the page

8

Thursday, January 10th 2008, 9:38pm

Thanks Stinos

My turn to clarify :)

I only need Qt4 as a dependency, for BAT, which is a GUI for Bacula.

This would be the only application running under Cygwin. I'm not trying to create a whole system, just the one app.

Before you say it, I have been begging my boss to let me build a *nix box of any sort, but he insists that keeping everything M$ makes the system better in some way.. . I'm not established enough to fight him on it lol

Aaaanyway, I have finally convinced him to let me install it on the offsite mailserver... hardly ideal, but it's Linux (much to his chargrain) so thats a start I spose.


Thanks for your help :)

Hopefully, the next person trying to install it will read this and save some time. :)
  • Go to the top of the page

Rate this thread