• 5806阅读
  • 4回复

QT安装问题,急救!! [复制链接]

上一主题 下一主题
离线zsagile
 

只看楼主 倒序阅读 楼主  发表于: 2007-07-15
QT安装问题,急救!!
— 本帖被 XChinux 执行加亮操作(2007-08-12) —
我用的是WINXP系统,开源4.1.0的版本,
qt-win-opensource-4.1.0-mingw.exe
MinGW-3.2.0-rc-3.exe
都装在C盘默认目录。
安装完后 设置环境变量为:
QTDIR                        C:\qt\4.1.0
QMAKESPEC            win32-g++
PATH                          C:\qt\4.1.0\bin;C:\MinGW\bin

然后进入Qt by Trolltech v4.1.0 (OpenSource)”->“Qt 4.1.0 Command Prompt”进入到命令行窗口
configure  (没有问题)
然后
mingw32-make
问题来了:



styles\qwindowsxpstyle.cpp:3411: error: `MAXBS_PUSHED' undeclared (first use thi
s function)
styles\qwindowsxpstyle.cpp:3415: error: `MAXBS_HOT' undeclared (first use this f
unction)
styles\qwindowsxpstyle.cpp:3419: error: `MAXBS_DISABLED' undeclared (first use t
his function)
styles\qwindowsxpstyle.cpp:3396: warning: unused variable 'dwOpt'
styles\qwindowsxpstyle.cpp:3439: error: `pGetThemePartSize' cannot be used as a
function
styles\qwindowsxpstyle.cpp:3443: error: `WP_CLOSEBUTTON' undeclared (first use t
his function)
styles\qwindowsxpstyle.cpp:3448: error: `CBS_PUSHED' undeclared (first use this
function)
styles\qwindowsxpstyle.cpp:3452: error: `CBS_HOT' undeclared (first use this fun
ction)
styles\qwindowsxpstyle.cpp:3456: error: `CBS_DISABLED' undeclared (first use thi
s function)
styles\qwindowsxpstyle.cpp:3433: warning: unused variable 'dwOpt'
styles\qwindowsxpstyle.cpp:3473: error: `WP_RESTOREBUTTON' undeclared (first use
this function)
styles\qwindowsxpstyle.cpp:3476: error: `pGetThemePartSize' cannot be used as a
function
styles\qwindowsxpstyle.cpp:3469: warning: unused variable 'dwOpt'
mingw32-make[3]: *** [tmp\obj\debug_shared\qwindowsxpstyle.o] Error 1
mingw32-make[3]: Leaving directory `C:/Qt/4.1.0/src/gui'
mingw32-make[2]: *** [debug-all] Error 2
mingw32-make[2]: Leaving directory `C:/Qt/4.1.0/src/gui'
mingw32-make[1]: *** [sub-gui-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.1.0/src'
mingw32-make: *** [sub-src-make_default-ordered] Error 2

关于安装这个,我搞了好几天了,都没有成功。。。。。
请大虾指点迷津!我都快要崩溃了。。
[ 此贴被XChinux在2007-08-12 22:41重新编辑 ]
离线XChinux

只看该作者 1楼 发表于: 2007-07-15
按置顶帖中的安装介绍来安装。
http://www.qtcn.org/bbs/read.php?tid=1967
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
离线zsagile

只看该作者 2楼 发表于: 2007-07-15
非常感谢总版主,但是打不开啊::


【原创】Qt 4.0.1 OpenSource for MinGW版的安装指南
参考论坛上的帖子,总算完成了QT OpenSource版本的安装,总结一下其中容易出错的地方,供大家参考。

请点击这里查看《QT OpenSource版的安装指南》

网站改版,QT OpenSource安装指南提供pdf文件下载,请点击这里下载

无法打开 ,无法下载啊
离线zsagile

只看该作者 3楼 发表于: 2007-07-15
这样安装 哪里出错了吗????
离线XChinux

只看该作者 4楼 发表于: 2007-07-15
二笔 openSUSE Vim N9 BB10 XChinux@163.com 网易博客 腾讯微博
承接C++/Qt、Qt UI界面、PHP及预算报销系统开发业务
快速回复
限100 字节
 
上一个 下一个