PDA

View Full Version : With Ubuntu : How to build for other platforms



ziro
8th September 2016, 15:43
Hi all I am new to Qt ..

I written an Calculator app in Qt and build executable in Ubuntu and it works fine .

but my question is : how to build for other platforms say for windows in Ubuntu using the QT creator kits.

Is it possible without using the wine and and installing windows apps in Ubuntu

ps : feel free to enlighten me if my question is silly

Thanks and regads ,
Mohanen B

anda_skoa
8th September 2016, 15:58
You will need a cross-compile toolchain, a compiler that can run on Linux and produce Windows code.

Then you have to build Qt with that and configure a "Kit" in QtCreator that uses that compiler and Qt version.

Cheers,
_