首页 > 代码库 > Qt Project文件的基本写法

Qt Project文件的基本写法

TEMPLATE = app
DEFINES += DEVICE_TYPE_LINUX_XIXUNHEADERS
+= ../../source/log4qt/basicconfigurator.h ../../source/log4qt/writerappender.h SOURCES += ../../source/log4qt/fileappender.cpp ../../source/log4qt/layout.cpp \
QT += core network sql xml gui webkitLIBS += -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.soTARGET = ../../bin_linux/pvplayerunix { 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}

 

Qt Project文件的基本写法