首页| 论坛| 消息

标题:WIN7下编译QT库出错,命令行下执行程序提示“***.exe已停止工作”
作者:juneja
日期:2011-12-18 12:16
内容:

系统:WIN7 Home Basic
安装:qt-win-opensource-4.7.3-mingw + Dev-C++ 4.9.9.2

1、QT软件安装正常,但编译Debug库有如下错误提示:
dialogs\qprintdialog_win.cpp: In function `void qt_win_read_back_PRINTDLGEX(PRIN
TDLGEX*, QPrintDialog*, QPrintDialogPrivate*)':
dialogs\qprintdialog_win.cpp:159: error: `PD_CURRENTPAGE' undeclared (first use
this function)
dialogs\qprintdialog_win.cpp:159: error: (Each undeclared identifier is reported
only once for each function it appears in.)
mingw32-make[2]: *** Error 1
mingw32-make[2]: Leaving directory `G:/Qt/4.7.3/src/gui'
mingw32-make[1]: *** Error 2
mingw32-make[1]: Leaving directory `G:/Qt/4.7.3/src/gui'
mingw32-make: *** Error 2

2、WIN7下编写了个QT GUI小程序,命令行下执行提示“***.exe已停止工作...”如下:


#1 回 楼主(juneja) 的帖子 [jdwx 12-18 12:50]
为什么不用QtCreator做IDE?
#2 回 1楼(jdwx) 的帖子 [juneja 12-18 13:36]
是个好主意,
只是这不是问题的根源吧?

回复 发表
主题 版块