Qt Project文件的基本写法

TEMPLATE = app
DEFINES += DEVICE_TYPE_LINUX_XIXUN HEADERS
+= \ ../../source/log4qt/basicconfigurator.h \ ../../source/log4qt/writerappender.h \ SOURCES += \ ../../source/log4qt/fileappender.cpp \ ../../source/log4qt/layout.cpp \
QT += core \ network \ sql \ xml \ gui \ webkit LIBS += -lz -lX11 libSUSI-3.02.so # INCLUDEPATH += /usr/include/gstreamer-0.10 /usr/include/glib-2.0 /usr/lib/i386-linux-gnu/glib-2.0/include /usr/include/libxml2 # INCLUDEPATH += /usr/include/gstreamer-0.10 /usr/include/glib-2.0 /usr/lib/arm-linux-gnueabihf/glib-2.0/include /usr/include/libxml2 # LIBS += -lz -lX11 -lgstreamer-0.10 -lgstinterfaces-0.10 -lgobject-2.0 -lglib-2.0 libSUSI-3.02.so TARGET = ../../bin_linux/pvplayer unix { MOC_DIR = .moc OBJECTS_DIR = .obj } win32 { INCLUDEPATH += $(DXSDK_DIR)/Include LIBS += $(DXSDK_DIR)/Lib/winmm.lib \ $(DXSDK_DIR)/Lib/dxguid.lib \ $(DXSDK_DIR)/Lib/dinput8.lib \ $(DXSDK_DIR)/Lib/setupapi.lib }

 

posted @ 2014-10-29 17:42  恒月美剑  阅读(1434)  评论(0编辑  收藏  举报