LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2006, 08:50 PM   #1
zackarya
Member
 
Registered: Jul 2003
Distribution: OpenSuse 10, Debian
Posts: 152

Rep: Reputation: 30
How to compile qt linux prog for windows?


I have a program that I wrote using QT. I currently only have a Linux version.
Now I would like to compile a version that will run on Windows.

INFO:

My OS is OpenSuse 10.
I have WinXP but no programming tools for it.
I use KDevelop as my IDE.
I originally wrote the code in QT3 and have ported it to QT4 using some QT3 support.
The source code is at http://www.astek.jasmafs.com/downloa...o1.0src.tar.gz

Another question:

I also have a precompiled version(Linux) but you need to have the QT libs to run it.
Is there a way to statically link everything so that no matter what the user can
run the program?

Any help would be greatly appreciated.

Zackarya

Last edited by zackarya; 08-07-2006 at 08:51 PM.
 
Old 08-08-2006, 01:58 AM   #2
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Look at Dev-C++ you can use that to compile qt in windows.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile a prog linked to a QT version I don't have ? Sabinou Mandriva 8 06-14-2006 12:09 PM
How do i run a windows prog Bombo Linux - Software 1 04-09-2005 04:26 PM
run a C++ prog in Windows? jgibz General 7 09-07-2004 08:38 PM
Cant work my wxWidgets prog. on windows sduffy89 Programming 1 08-30-2004 05:33 PM
compile windows binaries on Linux? muczy Linux - Newbie 4 07-24-2004 01:05 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration