Compile Qt Project To Run On A Linux System

Posted by ForgiveMeI'mAN00b on Stack Overflow See other posts from Stack Overflow or by ForgiveMeI'mAN00b
Published on 2012-11-26T22:29:45Z Indexed on 2012/11/26 23:04 UTC
Read the original article Hit count: 198

Filed under:
|
|
|
|

I have a Qt project. It uses the cross platform libraries SDL, OpenGL and FLTK. I want to be able to compile the project so that it can run on a Linux computer. I'm looking at a bunch of articles I have seen so far two ways to do this. Use a cross compiler, which seems to me a rather complicated thing to setup and compile with, or, the other options, is to compile the project simply on a Linux computer, simply the Linux version of Qt creator/SDK.

My question is, If I have a Qt project that uses only cross platform libraries, then is creating a Windows version easy as compiling it in Qt/Windows, and creating the Linux version as easy as doing it in Qt/Linux?

PS. Please don't ask/complain about why I didn't just try to see if it works myself, I don't have any Linux OS's installed on my computer right now, and I don't want to risk going into the trouble of installing a whole new OS just to have it not work in the end.

© Stack Overflow or respective owner

Related posts about c++

Related posts about linux