i have a C++ program which is written in QT, now the development stuff is done and it is compiled to be used inside windows but now i want to compile it for linux too.
but the thing is i don't know how to do it
I'm using QT 4.7.4 32 bit and mingw on windows 7.
Well... set up your compiler to and IDE onto your Linux machine (if you use an IDE). Now, you'll have to rebuild your Qt libraries for Linux, that should be in their documentation (although I have noticed their documentation kind of sucks). Once you have built the libraries, configure your IDE (or makefile) to compile your project using the Qt libraries.
As a sidenote, IDE's work with the compiler by essentially making a makefile (or similar) that is then fed to the compiler to tell it what to compile and what options to use (same with linker). You'll have to essentially recompile/link Qt and your project on your Linux target OS.
If you need more specific help, post more specific details in regards to where you're stuck.
you can use linux open suse. It so good for you to compiler c, or c ++
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)