我的项目文件qt.pro与名为texo.ui的.ui文件位于同一文件夹中。从我读过的内容来看,当我尝试构建项目时,似乎应该自动生成一个文件ui_texo.h,但我并不乐观。我是Qt的初学者,我很失落。我最初在文件qgraphicsview.h中遇到了类似的问题,我通过使用finder找到文件然后将其粘贴到qt.pro所在的文件中来修复。不幸的是,我无法找到ui_texo。 h文件在我的电脑上的任何地方在此先感谢您的帮助,如果您有任何疑问或我是否已经清楚,请告诉我们!
qt.pro的内容是:
QT += core gui
TARGET = qt
TEMPLATE = app
HEADERS += \
TexoView.h \
TexoDemo.h \
stdafx.h \
TexoViewImg.h \
SOURCES += \
TexoView.cpp \
TexoDemo.cpp \
StdAfx.cpp \
main.cpp \
TexoViewImg.cpp
FORMS += \
texo.ui
RESOURCES += \
texo.qrc \
texo.qrc
OTHER_FILES += \
res/u.ico \
res/stop.png \
res/run.png \
res/init.png
INCLUDEPATH += ../../inc/
LIBS += -L"../../lib/" -ltexo
LIBS += -L"../../../bin/" -ltexo
` 并且makefile的内容是:
Makefile: qt.pro ../../../Qt/5.3/clang_64/mkspecs/macx-clang/qmake.conf ../../../Qt/5.3/clang_64/mkspecs/features/spec_pre.prf \
../../../Qt/5.3/clang_64/mkspecs/qdevice.pri \
../../../Qt/5.3/clang_64/mkspecs/features/device_config.prf \
../../../Qt/5.3/clang_64/mkspecs/common/shell-unix.conf \
../../../Qt/5.3/clang_64/mkspecs/common/unix.conf \
../../../Qt/5.3/clang_64/mkspecs/common/mac.conf \
../../../Qt/5.3/clang_64/mkspecs/common/macx.conf \
../../../Qt/5.3/clang_64/mkspecs/common/gcc-base.conf \
../../../Qt/5.3/clang_64/mkspecs/common/gcc-base-mac.conf \
../../../Qt/5.3/clang_64/mkspecs/common/clang.conf \
../../../Qt/5.3/clang_64/mkspecs/common/clang-mac.conf \
../../../Qt/5.3/clang_64/mkspecs/qconfig.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_bluetooth.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_bluetooth_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_bootstrap_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_clucene_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_concurrent.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_concurrent_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_core.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_core_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_dbus.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_dbus_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_declarative.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_declarative_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_designer.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_designer_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_designercomponents_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_enginio.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_enginio_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_gui.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_gui_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_help.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_help_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_macextras.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_macextras_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_multimedia.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_multimedia_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_multimediawidgets.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_multimediawidgets_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_network.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_network_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_nfc.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_nfc_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_opengl.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_opengl_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_openglextensions.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_openglextensions_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_platformsupport_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_positioning.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_positioning_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_printsupport.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_printsupport_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qml.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qml_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qmldevtools_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qmltest.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qmltest_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_quick.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_quick_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_quickparticles_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_quickwidgets.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_quickwidgets_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_script.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_script_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_scripttools.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_scripttools_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_sensors.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_sensors_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_serialport.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_serialport_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_sql.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_sql_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_svg.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_svg_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_testlib.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_testlib_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_uitools.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_uitools_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_webkit.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_webkit_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_webkitwidgets.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_webkitwidgets_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_websockets.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_websockets_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_widgets.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_widgets_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_xml.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_xml_private.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_xmlpatterns.pri \
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
../../../Qt/5.3/clang_64/mkspecs/features/qt_functions.prf \
../../../Qt/5.3/clang_64/mkspecs/features/qt_config.prf \
../../../Qt/5.3/clang_64/mkspecs/macx-clang/qmake.conf \
../../../Qt/5.3/clang_64/mkspecs/features/spec_post.prf \
../../../../.qmake.stash \
../../../Qt/5.3/clang_64/mkspecs/features/exclusive_builds.prf \
../../../Qt/5.3/clang_64/mkspecs/features/default_pre.prf \
../../../Qt/5.3/clang_64/mkspecs/features/mac/default_pre.prf \
../../../Qt/5.3/clang_64/mkspecs/features/resolve_config.prf \
../../../Qt/5.3/clang_64/mkspecs/features/default_post.prf \
../../../Qt/5.3/clang_64/mkspecs/features/mac/sdk.prf \
../../../Qt/5.3/clang_64/mkspecs/features/mac/default_post.prf \
../../../Qt/5.3/clang_64/mkspecs/features/mac/objective_c.prf \
../../../Qt/5.3/clang_64/mkspecs/features/warn_on.prf \
../../../Qt/5.3/clang_64/mkspecs/features/qt.prf \
../../../Qt/5.3/clang_64/mkspecs/features/resources.prf \
../../../Qt/5.3/clang_64/mkspecs/features/moc.prf \
../../../Qt/5.3/clang_64/mkspecs/features/unix/opengl.prf \
../../../Qt/5.3/clang_64/mkspecs/features/unix/thread.prf \
../../../Qt/5.3/clang_64/mkspecs/features/mac/rez.prf \
../../../Qt/5.3/clang_64/mkspecs/features/testcase_targets.prf \
../../../Qt/5.3/clang_64/mkspecs/features/exceptions.prf \
../../../Qt/5.3/clang_64/mkspecs/features/yacc.prf \
../../../Qt/5.3/clang_64/mkspecs/features/lex.prf \
qt.pro \
texo.qrc \
/Users/Mike/Desktop/Work/Qt/5.3/clang_64/lib/QtGui.framework/QtGui.prl \
/Users/Mike/Desktop/Work/Qt/5.3/clang_64/lib/QtCore.framework/QtCore.prl
$(QMAKE) -spec macx-clang CONFIG+=debug CONFIG+=x86_64 -o Makefile qt.pro
../../../Qt/5.3/clang_64/mkspecs/features/spec_pre.prf:
../../../Qt/5.3/clang_64/mkspecs/qdevice.pri:
../../../Qt/5.3/clang_64/mkspecs/features/device_config.prf:
../../../Qt/5.3/clang_64/mkspecs/common/shell-unix.conf:
../../../Qt/5.3/clang_64/mkspecs/common/unix.conf:
../../../Qt/5.3/clang_64/mkspecs/common/mac.conf:
../../../Qt/5.3/clang_64/mkspecs/common/macx.conf:
../../../Qt/5.3/clang_64/mkspecs/common/gcc-base.conf:
../../../Qt/5.3/clang_64/mkspecs/common/gcc-base-mac.conf:
../../../Qt/5.3/clang_64/mkspecs/common/clang.conf:
../../../Qt/5.3/clang_64/mkspecs/common/clang-mac.conf:
../../../Qt/5.3/clang_64/mkspecs/qconfig.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_bluetooth.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_bluetooth_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_bootstrap_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_clucene_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_concurrent.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_concurrent_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_core.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_core_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_dbus.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_dbus_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_declarative.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_declarative_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_designer.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_designer_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_designercomponents_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_enginio.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_enginio_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_gui.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_gui_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_help.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_help_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_macextras.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_macextras_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_multimedia.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_multimedia_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_multimediawidgets.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_multimediawidgets_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_network.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_network_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_nfc.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_nfc_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_opengl.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_opengl_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_openglextensions.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_openglextensions_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_platformsupport_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_positioning.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_positioning_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_printsupport.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_printsupport_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qml.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qml_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qmldevtools_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qmltest.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qmltest_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_quick.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_quick_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_quickparticles_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_quickwidgets.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_quickwidgets_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_script.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_script_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_scripttools.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_scripttools_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_sensors.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_sensors_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_serialport.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_serialport_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_sql.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_sql_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_svg.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_svg_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_testlib.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_testlib_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_uitools.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_uitools_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_webkit.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_webkit_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_webkitwidgets.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_webkitwidgets_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_websockets.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_websockets_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_widgets.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_widgets_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_xml.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_xml_private.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_xmlpatterns.pri:
../../../Qt/5.3/clang_64/mkspecs/modules/qt_lib_xmlpatterns_private.pri:
../../../Qt/5.3/clang_64/mkspecs/features/qt_functions.prf:
../../../Qt/5.3/clang_64/mkspecs/features/qt_config.prf:
../../../Qt/5.3/clang_64/mkspecs/macx-clang/qmake.conf:
../../../Qt/5.3/clang_64/mkspecs/features/spec_post.prf:
../../../../.qmake.stash:
../../../Qt/5.3/clang_64/mkspecs/features/exclusive_builds.prf:
../../../Qt/5.3/clang_64/mkspecs/features/default_pre.prf:
../../../Qt/5.3/clang_64/mkspecs/features/mac/default_pre.prf:
../../../Qt/5.3/clang_64/mkspecs/features/resolve_config.prf:
../../../Qt/5.3/clang_64/mkspecs/features/default_post.prf:
../../../Qt/5.3/clang_64/mkspecs/features/mac/sdk.prf:
../../../Qt/5.3/clang_64/mkspecs/features/mac/default_post.prf:
../../../Qt/5.3/clang_64/mkspecs/features/mac/objective_c.prf:
../../../Qt/5.3/clang_64/mkspecs/features/warn_on.prf:
../../../Qt/5.3/clang_64/mkspecs/features/qt.prf:
../../../Qt/5.3/clang_64/mkspecs/features/resources.prf:
../../../Qt/5.3/clang_64/mkspecs/features/moc.prf:
../../../Qt/5.3/clang_64/mkspecs/features/unix/opengl.prf:
../../../Qt/5.3/clang_64/mkspecs/features/unix/thread.prf:
../../../Qt/5.3/clang_64/mkspecs/features/mac/rez.prf:
../../../Qt/5.3/clang_64/mkspecs/features/testcase_targets.prf:
../../../Qt/5.3/clang_64/mkspecs/features/exceptions.prf:
../../../Qt/5.3/clang_64/mkspecs/features/yacc.prf:
../../../Qt/5.3/clang_64/mkspecs/features/lex.prf:
qt.pro:
texo.qrc:
/Users/Mike/Desktop/Work/Qt/5.3/clang_64/lib/QtGui.framework/QtGui.prl:
/Users/Mike/Desktop/Work/Qt/5.3/clang_64/lib/QtCore.framework/QtCore.prl:
qmake: FORCE
@$(QMAKE) -spec macx-clang CONFIG+=debug CONFIG+=x86_64 -o Makefile qt.pro
qmake_all: FORCE
qt.app/Contents/PkgInfo:
@test -d qt.app/Contents || mkdir -p qt.app/Contents
@$(DEL_FILE) qt.app/Contents/PkgInfo
@echo "APPL????" >qt.app/Contents/PkgInfo
qt.app/Contents/Resources/empty.lproj:
@test -d qt.app/Contents/Resources || mkdir -p qt.app/Contents/Resources
@touch qt.app/Contents/Resources/empty.lproj
qt.app/Contents/Info.plist:
@test -d qt.app/Contents || mkdir -p qt.app/Contents
@$(DEL_FILE) qt.app/Contents/Info.plist
@sed -e "s,@SHORT_VERSION@,1.0,g" -e "s,@TYPEINFO@,????,g" -e "s,@ICON@,,g" -e "s,@BUNDLEIDENTIFIER@,sdf.qt,g" -e "s,@EXECUTABLE@,qt,g" -e "s,@TYPEINFO@,????,g" ../../../Qt/5.3/clang_64/mkspecs/macx-clang/Info.plist.app >qt.app/Contents/Info.plist
dist:
@test -d .tmp/qt1.0.0 || mkdir -p .tmp/qt1.0.0
$(COPY_FILE) --parents $(DIST) .tmp/qt1.0.0/ && $(COPY_FILE) --parents texo.qrc texo.qrc .tmp/qt1.0.0/ && $(COPY_FILE) --parents TexoView.h TexoDemo.h stdafx.h TexoViewImg.h .tmp/qt1.0.0/ && $(COPY_FILE) --parents TexoView.cpp TexoDemo.cpp StdAfx.cpp main.cpp TexoViewImg.cpp .tmp/qt1.0.0/ && (cd `dirname .tmp/qt1.0.0` && $(TAR) qt1.0.0.tar qt1.0.0 && $(COMPRESS) qt1.0.0.tar) && $(MOVE) `dirname .tmp/qt1.0.0`/qt1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qt1.0.0
clean:compiler_clean
-$(DEL_FILE) $(OBJECTS)
-$(DEL_FILE) *~ core *.core
distclean: clean
-$(DEL_FILE) -r qt.app
-$(DEL_FILE) Makefile
####### Sub-libraries
mocclean: compiler_moc_header_clean compiler_moc_source_clean
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
check: first
compiler_objective_c_make_all:
compiler_objective_c_clean:
compiler_rcc_make_all: qrc_texo.cpp qrc_texo.cpp
compiler_rcc_clean:
-$(DEL_FILE) qrc_texo.cpp qrc_texo.cpp
qrc_texo.cpp: texo.qrc \
res/stop.png \
res/u.ico \
res/run.png \
res/init.png
/Users/Mike/Desktop/Work/Qt/5.3/clang_64/bin/rcc -name texo texo.qrc -o qrc_texo.cpp
qrc_texo.cpp: texo.qrc \
res/stop.png \
res/u.ico \
res/run.png \
res/init.png
/Users/Mike/Desktop/Work/Qt/5.3/clang_64/bin/rcc -name texo texo.qrc -o qrc_texo.cpp
compiler_moc_header_make_all: moc_TexoDemo.cpp
compiler_moc_header_clean:
-$(DEL_FILE) moc_TexoDemo.cpp
moc_TexoDemo.cpp: TexoDemo.h
/Users/Mike/Desktop/Work/Qt/5.3/clang_64/bin/moc $(DEFINES) -D__APPLE__ -D__GNUC__=4 -I/Users/Mike/Desktop/Work/Qt/5.3/clang_64/mkspecs/macx-clang -I/Users/Mike/Desktop/Work/texo/demo/qt -I/Users/Mike/Desktop/Work/texo/inc -I/Users/Mike/Desktop/Work/Qt/5.3/clang_64/lib/QtGui.framework/Headers -I/Users/Mike/Desktop/Work/Qt/5.3/clang_64/lib/QtCore.framework/Headers -F/Users/Mike/Desktop/Work/Qt/5.3/clang_64/lib TexoDemo.h -o moc_TexoDemo.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_rez_source_make_all:
compiler_rez_source_clean:
compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_rcc_clean compiler_moc_header_clean
####### Compile
TexoView.o: TexoView.cpp stdafx.h \
../../inc/texo_def.h \
../../inc/texo.h \
TexoView.h \
qgraphicsview.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o TexoView.o TexoView.cpp
TexoDemo.o: TexoDemo.cpp stdafx.h \
../../inc/texo_def.h \
../../inc/texo.h \
TexoDemo.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o TexoDemo.o TexoDemo.cpp
StdAfx.o: StdAfx.cpp stdafx.h \
../../inc/texo_def.h \
../../inc/texo.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o StdAfx.o StdAfx.cpp
main.o: main.cpp stdafx.h \
../../inc/texo_def.h \
../../inc/texo.h \
TexoDemo.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
TexoViewImg.o: TexoViewImg.cpp stdafx.h \
../../inc/texo_def.h \
../../inc/texo.h \
TexoViewImg.h \
qgraphicsview.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o TexoViewImg.o TexoViewImg.cpp
qrc_texo.o: qrc_texo.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_texo.o qrc_texo.cpp
moc_TexoDemo.o: moc_TexoDemo.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_TexoDemo.o moc_TexoDemo.cpp
####### Install
install: FORCE
uninstall: FORCE
FORCE:
答案 0 :(得分:0)
确保项目文件中引用了.ui
文件。如果该行已经存在,请将此行添加到qt.pro
:
FORMS = texo.ui
答案 1 :(得分:0)
您的Makefile不包含任何特定于ui的规则,表明它不是从.pro文件创建的,或者至少不是从.pro文件的此版本创建的。 (重新)运行qmake可能确实有帮助。你应该能够从Creator" Build"中运行qmake。菜单。