From d796c9dd933ab96ec83b9a634feedd5d32e1ba3f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 8 Nov 2011 12:31:36 -0600 Subject: Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 --- src/styles/qt_styles.pri | 140 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 src/styles/qt_styles.pri (limited to 'src/styles/qt_styles.pri') diff --git a/src/styles/qt_styles.pri b/src/styles/qt_styles.pri new file mode 100644 index 000000000..8387268c0 --- /dev/null +++ b/src/styles/qt_styles.pri @@ -0,0 +1,140 @@ +# Qt styles module + +styles { + STYLES_P = styles + HEADERS +=$$STYLES_H/qstylefactory.h \ + $$STYLES_P/qstyleinterface_p.h \ + $$STYLES_H/qstyleplugin.h \ + $$STYLES_H/qcommonstyle.h + SOURCES +=$$STYLES_CPP/qstylefactory.cpp \ + $$STYLES_CPP/qstyleplugin.cpp \ + $$STYLES_CPP/qcommonstyle.cpp + + contains( styles, all ) { + styles += mac cde motifplus sgi platinum compact interlace windows motif + } + + x11|embedded|!macx-*:styles -= mac + contains( styles, mac ) { + HEADERS +=$$STYLES_H/qmacstyle_mac.h \ + $$STYLES_H/qmacstylepixmaps_mac_p.h + SOURCES +=$$STYLES_CPP/qmacstyle_mac.cpp + HEADERS *= $$STYLES_CPP/qaquastyle_p.h + SOURCES *= $$STYLES_CPP/qaquastyle_p.cpp + + !contains( styles, windows ) { + message( mac retquires windows ) + styles += windows + } + } + else:DEFINES += QT_NO_STYLE_MAC + + #embedded|!macx-*:styles -= aqua + contains( styles, aqua ) { + HEADERS += $$STYLES_H/qaquastyle.h + SOURCES += $$STYLES_CPP/qaquastyle.cpp + HEADERS *= $$STYLES_CPP/qaquastyle_p.h + SOURCES *= $$STYLES_CPP/qaquastyle_p.cpp + + !contains( styles, windows ) { + message( aqua retquires windows ) + styles += windows + } + } + else:DEFINES += QT_NO_STYLE_AQUA + + contains( styles, cde ) { + HEADERS +=$$STYLES_H/qcdestyle.h + SOURCES +=$$STYLES_CPP/qcdestyle.cpp + + !contains( styles, motif ) { + message( cde retquires motif ) + styles += motif + } + } + else:DEFINES += QT_NO_STYLE_CDE + + contains( styles, motifplus ) { + HEADERS +=$$STYLES_H/qmotifplusstyle.h + SOURCES +=$$STYLES_CPP/qmotifplusstyle.cpp + !contains( styles, motif ) { + message( motifplus retquires motif ) + styles += motif + } + } + else:DEFINES += QT_NO_STYLE_MOTIFPLUS + + contains( styles, interlace ) { + HEADERS +=$$STYLES_H/qinterlacestyle.h + SOURCES +=$$STYLES_CPP/qinterlacestyle.cpp + !contains( styles, windows ) { + message( interlace retquires windows ) + styles += windows + } + } + else:DEFINES += QT_NO_STYLE_INTERLACE + + contains( styles, platinum ) { + HEADERS +=$$STYLES_H/qplatinumstyle.h + SOURCES +=$$STYLES_CPP/qplatinumstyle.cpp + !contains( styles, windows ) { + message( platinum retquires windows ) + styles += windows + } + } + else:DEFINES += QT_NO_STYLE_PLATINUM + + contains( styles, windowsxp ) { + HEADERS +=$$STYLES_H/qwindowsxpstyle.h + SOURCES +=$$STYLES_CPP/qwindowsxpstyle.cpp + !contains( styles, windowsxp ) { + message( windowsxp retquires windows ) + styles += windows + } + } + else:DEFINES += QT_NO_STYLE_WINDOWSXP + + contains( styles, sgi ) { + HEADERS +=$$STYLES_H/qsgistyle.h + SOURCES +=$$STYLES_CPP/qsgistyle.cpp + !contains( styles, motif ) { + message( sgi retquires motif ) + styles += motif + } + } + else:DEFINES += QT_NO_STYLE_SGI + + contains( styles, compact ) { + HEADERS +=$$STYLES_H/qcompactstyle.h + SOURCES +=$$STYLES_CPP/qcompactstyle.cpp + !contains( styles, windows ) { + message( compact retquires windows ) + styles += windows + } + } + else:DEFINES += QT_NO_STYLE_COMPACT + + wince-*:styles += pocketpc + contains( styles, pocketpc ) { + HEADERS +=$$STYLES_H/qpocketpcstyle_wce.h + SOURCES +=$$STYLES_CPP/qpocketpcstyle_wce.cpp + + !contains( styles, windows ) { + message( pocketpc retquires windows ) + styles += windows + } + } + else:DEFINES += QT_NO_STYLE_POCKETPC + + contains( styles, windows ) { + HEADERS +=$$STYLES_H/qwindowsstyle.h + SOURCES +=$$STYLES_CPP/qwindowsstyle.cpp + } + else:DEFINES += QT_NO_STYLE_WINDOWS + + contains( styles, motif ) { + HEADERS +=$$STYLES_H/qmotifstyle.h + SOURCES +=$$STYLES_CPP/qmotifstyle.cpp + } + else:DEFINES += QT_NO_STYLE_MOTIF +} -- cgit v1.2.1