开发者

Porting QT application from Linux to Windows?

开发者 https://www.devze.com 2023-01-02 17:55 出处:网络
Greetings all, We are developing a QT application (QT 4.6 LGPL version) in Linux platform.All the libraries we use are cross-platform.

Greetings all,

We are developing a QT application (QT 4.6 LGPL version) in Linux platform.All the libraries we use are cross-platform. Now w开发者_开发知识库e want to port it into Windows and continue develop in Windows. My questions are:

  1. Which compiler should we use ,Can we use MinGW or Visual C++ compiler?

2.If its Visual C++ compiler, which Visual Studio version should be used ,can we use 'Visual C++ Studio 2010 express' ?

thanks in advance.


The easiest, by far, is to install QtCreator. it includes MinGW and simply opens the same project files as on linux. compile, and go!

A huge advantage of MinGW over VC++ is that it doesn't make you chase circles around getting the right vcredist library for the exact version of the compiler, nor it cares too much about debug/release builds. To deploy, just be sure to copy the same one or two DLLs you have on the development machine. A few more for Qt, but these are well-documented on Qt docs. No hidden surprises.

0

精彩评论

暂无评论...
验证码 换一张
取 消