• 5931阅读
  • 0回复

【原创】Qt 4 之 qmake Bug Bug Bug!!! [复制链接]

上一主题 下一主题
离线ocean
 
只看楼主 倒序阅读 楼主  发表于: 2005-11-22
test.pro文件内容如下:

HEADERS   = bookdelegate.h bookwindow.h cdlgtest.h cdlgttt.h
RESOURCES   = books.qrc
SOURCES   = bookdelegate.cpp main.cpp bookwindow.cpp cdlgtest.cpp cdlgttt.cpp
FORMS     = bookwindow.ui cdlgtest.ui cdlgttt.ui


执行qmake

然后执行nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    NMAKE -f Makefile.Debug all

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

    C:\Qt\4.0.1\bin\uic.exe bookwindow.ui -o ui_bookwindow.h
    C:\Qt\4.0.1\bin\uic.exe cdlgtest.ui -o ui_cdlgtest.h
    C:\Qt\4.0.1\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT
_EDITION_DESKTOP -DQT_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_THREAD_SU
PPORT -I"C:/Qt/4.0.1/include/QtSql" -I"C:/Qt/4.0.1/include/QtGui" -I"C:/Qt/4.0.1
/include/QtCore" -I"C:/Qt/4.0.1/include" -I"." -I"C:/Qt/4.0.1/include/ActiveQt"
-I"tmp\moc\debug_shared" -I"." -I"C:/Qt/4.0.1/mkspecs/win32-msvc" -D_MSC_VER=120
0 -DWIN32 bookwindow.h -o tmp\moc\debug_shared\moc_bookwindow.cpp


没有编译所有的Forms,导致后面提示找不到ui_cdlgttt.h
不知道大家有没有遇到同类问题啊???
[ 此贴被ocean在2005-11-22 21:19重新编辑 ]
快速回复
限100 字节
 
上一个 下一个