Qt

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(VS)
(VS)
第24行: 第24行:
 
  nmake
 
  nmake
 
常见错误
 
常见错误
  cannot open input file 'qtmaind.lib'// 是因为没有进行静态编译. 需先进行签名的操作.
+
  cannot open input file 'QtCored4.lib'// 是因为没有进行静态编译. 需先进行前面的操作.
  
 
*http://qtnode.net/wiki/Qt4_with_Visual_Studio
 
*http://qtnode.net/wiki/Qt4_with_Visual_Studio

2010年1月16日 (六) 17:07的版本

Qt is a cross-platform application and UI framework. Using Qt, you can write applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.

Qt Product Arch

Develop applications and user interfaces once, and deploy them across Windows, Mac, Linux/X11, embedded Linux, Windows CE and S60 (coming soon) without rewriting the source code.

目录

Webkit

QtWebKit

Eclipse

Qt Eclipse Integration

Qt Eclipse Integration for C++

VS

Qt Visual Studio Integration

Qt is integrated with the Microsoft Visual Studio .NET and Eclipse integrated development environments. This means Qt programmers can use the IDE they are most comfortable with to do cross-platform development.

安装QT SDK 后,默认采用的是动态链接库的编译方式, 要生成静态的版本, 就需要自己重新进行编译.

设置 QMAKESPEC 为 win32-msvc2008 或 win32-msvc2005 的环境变量
设置 QTDIR 环境变量 如: C:\Qt\2009.05\qt
加入 C:\Qt\2009.05\qt\bin 到 PATH中
打开一个 Visual Studio command prompt 命令窗口
echo %QMAKESPEC%
configure.exe --help
C:\Qt\2009.05\qt\mkspecs\win32-msvc2008\qmake.conf
QMAKE_LFLAGS            = -static
configure -static -release -no-exceptions
nmake

常见错误

cannot open input file 'QtCored4.lib'// 是因为没有进行静态编译. 需先进行前面的操作.

Projects

Links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱