Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, May 2007
Open-Source Compiler for WindowXP


Message 1 in thread

Hi All,

At the moment I am using Windows XP and need to recompile the project 
under WindowXP.
I installed Cygwin and try to compile Qt 4.2 without any success.

What open source, Windows, compiler is available to compile Qt ?

Cheers,
-JR

--
 [ signature omitted ] 

Message 2 in thread

On 5/2/07, Joshua Robinson <shooki.robinson@xxxxxxxxx> wrote:
> Hi All,
>
> At the moment I am using Windows XP and need to recompile the project
> under WindowXP.
> I installed Cygwin and try to compile Qt 4.2 without any success.

That's not building it under XP - that's building it under a unix-like
environment
that runs under XP.

> What open source, Windows, compiler is available to compile Qt ?

MinGW

--
 [ signature omitted ] 

Message 3 in thread

On 02.05.07 17:57:08, Joshua Robinson wrote:
> Hi All,
> 
> At the moment I am using Windows XP and need to recompile the project under 
> WindowXP.
> I installed Cygwin and try to compile Qt 4.2 without any success.
> 
> What open source, Windows, compiler is available to compile Qt ?

MinGW.

Andreas

-- 
 [ signature omitted ] 

Message 4 in thread

 From where can I download 'MinGW' ?


Andreas Pakulat wrote:
> On 02.05.07 17:57:08, Joshua Robinson wrote:
>   
>> Hi All,
>>
>> At the moment I am using Windows XP and need to recompile the project under 
>> WindowXP.
>> I installed Cygwin and try to compile Qt 4.2 without any success.
>>
>> What open source, Windows, compiler is available to compile Qt ?
>>     
>
> MinGW.
>
> Andreas
>
>   

Message 5 in thread

Found mingw:    http://www.mingw.org/MinGWiki/

Andreas Pakulat wrote:
> On 02.05.07 17:57:08, Joshua Robinson wrote:
>   
>> Hi All,
>>
>> At the moment I am using Windows XP and need to recompile the project under 
>> WindowXP.
>> I installed Cygwin and try to compile Qt 4.2 without any success.
>>
>> What open source, Windows, compiler is available to compile Qt ?
>>     
>
> MinGW.
>
> Andreas
>
>   

Message 6 in thread

I have downloaded and installed MinGW and added the bin to the system $PATH.
In Cgywin command line window I've type:   ./configure.exe

Error occured:
 >>>
Creating qmake...
execute: File or path is not found (mingw32-make)
execute: File or path is not found (mingw32-make)
Cleaning qmake failed, return code -1
<<<

Any idea ?

Joshua
~~~~~



Andreas Pakulat wrote:
> On 02.05.07 17:57:08, Joshua Robinson wrote:
>   
>> Hi All,
>>
>> At the moment I am using Windows XP and need to recompile the project under 
>> WindowXP.
>> I installed Cygwin and try to compile Qt 4.2 without any success.
>>
>> What open source, Windows, compiler is available to compile Qt ?
>>     
>
> MinGW.
>
> Andreas
>
>   

Message 7 in thread

You have to log out and log back in for environment variables to take 
effect in Windows. Also make sure to remove Cygwin from your path too, 
because Qt will not compile properly with Cygwin in your path. You can 
check your environment by opening a command shell and typing 
mingw32-make. If it can't be found, you set the path wrong.

John

--
 [ signature omitted ] 

Message 8 in thread

I search for 'mingw32-make' and could not found it in the MinGW 
directory and sub-directories.


John Voltz wrote:
> You have to log out and log back in for environment variables to take 
> effect in Windows. Also make sure to remove Cygwin from your path too, 
> because Qt will not compile properly with Cygwin in your path. You can 
> check your environment by opening a command shell and typing 
> mingw32-make. If it can't be found, you set the path wrong.
>
> John
>
> -- 
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>

--
 [ signature omitted ] 

Message 9 in thread

On 02.05.07 22:29:55, Joshua Robinson wrote:
> 
> I search for 'mingw32-make' and could not found it in the MinGW directory and 
> sub-directories.

Then you didn't choose the make component when installing mingw. Make
sure to check "make", "gcc" and "g++".

Andreas

-- 
 [ signature omitted ] 

Message 10 in thread

Don't run under cygwin... run it under cmd.exe

 

Scott

 

________________________________

From: Joshua Robinson [mailto:shooki.robinson@xxxxxxxxx] 
Sent: Wednesday, May 02, 2007 4:41 PM
To: qt-interest@xxxxxxxxxxxxx
Subject: Re: Open-Source Compiler for WindowXP

 


I have downloaded and installed MinGW and added the bin to the system
$PATH.
In Cgywin command line window I've type:   ./configure.exe 

Error occured:
>>>
Creating qmake...
execute: File or path is not found (mingw32-make)
execute: File or path is not found (mingw32-make)
Cleaning qmake failed, return code -1
<<<

Any idea ?

Joshua
~~~~~



Andreas Pakulat wrote: 

On 02.05.07 17:57:08, Joshua Robinson wrote:
  

	Hi All,
	 
	At the moment I am using Windows XP and need to recompile the
project under 
	WindowXP.
	I installed Cygwin and try to compile Qt 4.2 without any
success.
	 
	What open source, Windows, compiler is available to compile Qt ?
	    

 
MinGW.
 
Andreas
 
  

Message 11 in thread

Joshua Robinson wrote: 
> I have downloaded and installed MinGW and added the bin to the system
> $PATH.
> In Cgywin command line window I've type:   ./configure.exe
> 
> Error occured:
>  >>>
> Creating qmake...
> execute: File or path is not found (mingw32-make)
> execute: File or path is not found (mingw32-make)
> Cleaning qmake failed, return code -1
> <<<
> 
> Any idea ?

Well, yes. Cygwin has *nothing* to do with Qt for Windows. Cygwin is a
UNIX-like environment under Windows, so in theory you could use Qt for X11.

I am afraid you have to go back to "ye goode olde" command prompt of Windows
to launch configure. Make sure you set all the environment variables right,
especially LIB (or compiling will crash at linking time) but also INCLUDE.

Cheers,
-Federico

--
 [ signature omitted ] 

Message 12 in thread

On Thursday 03 May 2007 00:07:24 Andreas Pakulat wrote:
> On 02.05.07 17:57:08, Joshua Robinson wrote:
> > Hi All,
> >
> > At the moment I am using Windows XP and need to recompile the project
> > under WindowXP.
> > I installed Cygwin and try to compile Qt 4.2 without any success.
> >
> > What open source, Windows, compiler is available to compile Qt ?
>
> MinGW.

I am wondering if everything works with mingw. What about ODBC connections and 
Active-X-Controls (I dont like them too, but sometimes they are ment to be 
neccessary :-( )?

Btw, is there anyone in here, who really *works* with VS 2005? This "IDE" is a 
joke, isn't it? On good days, I get a "99 projects had errors, 0 projects 
compiled successfully", because by basic.lib had an error... ok, too much 
off-topic, sorry.

--
 [ signature omitted ] 

Message 13 in thread

J. Preiss wrote:
> On Thursday 03 May 2007 00:07:24 Andreas Pakulat wrote:
>> On 02.05.07 17:57:08, Joshua Robinson wrote:
>>> Hi All,
>>>
>>> At the moment I am using Windows XP and need to recompile the project
>>> under WindowXP.
>>> I installed Cygwin and try to compile Qt 4.2 without any success.
>>>
>>> What open source, Windows, compiler is available to compile Qt ?
>> MinGW.
> 
> I am wondering if everything works with mingw. What about ODBC connections and 
> Active-X-Controls (I dont like them too, but sometimes they are ment to be 
> neccessary :-( )?
> 
	I let the opensource Win32 version of Qt download MinGW for me and it 
all seems to work fine. I have cygwin installed, but if I run qmake and 
mingw32-make from a cmd.exe shell, it all works. Qmake builds the 
makefiles correctly, mingw32-make builds the program correctly, and the 
program executes correctly. The only issue I have is that the version of 
gdb that is included in MinGW doesn't recognize the result of the 
compilation as an executable file, but I haven't had time to look into 
this yet.
	As far as Active-X controls or ODBC, if you use components that are 
provided with Qt, they should work.

--
 [ signature omitted ] 

Message 14 in thread

J. Preiss wrote:
> Btw, is there anyone in here, who really *works* with VS 2005? This "IDE"
> is a joke, isn't it? On good days, I get a "99 projects had errors, 0
> projects compiled successfully", because by basic.lib had an error... ok,
> too much off-topic, sorry.

QMake is your friend. We also had quite intricate compiling wizardry here,
until we found out that generating (possibly adjusting) a foo.pro file and
running:

C:\...> qmake -tp vc foo.pro

would produce a ready-made, as-good-as-it-gets foo.vcproj. You double-click
it, VS2005 starts, you press F7 and that's it: minimum residence time in
VS2005 :-D

Cheers,
-Federico

--
 [ signature omitted ] 

Message 15 in thread

On Thursday 03 May 2007 14:58:58 Federico Zenith wrote:
> J. Preiss wrote:
> > Btw, is there anyone in here, who really *works* with VS 2005? This "IDE"
> > is a joke, isn't it? On good days, I get a "99 projects had errors, 0
> > projects compiled successfully", because by basic.lib had an error... ok,
> > too much off-topic, sorry.
>
> QMake is your friend. We also had quite intricate compiling wizardry here,
> until we found out that generating (possibly adjusting) a foo.pro file and
> running:
>
> C:\...> qmake -tp vc foo.pro
>
> would produce a ready-made, as-good-as-it-gets foo.vcproj. You double-click
> it, VS2005 starts, you press F7 and that's it: minimum residence time in
> VS2005 :-D

If you want a more comfortable way, you can have a look at the qhelpers at 
SourceForge. My makemk is an IDE just for calling qmake with different 
QMAKESPECs, compilers and runtime environments... :-) 

If someone could add me an editor and a debugger, it would be *really* 
great ;-) But an editor where you can say "Save as Utf-8" and please 
not "Save as Utf8 if you think it has to be Utf8, else use what you want"... 

--
 [ signature omitted ]