diff options
author | Timothy Pearson <[email protected]> | 2011-07-10 15:17:53 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-07-10 15:17:53 -0500 |
commit | dda8474928bd7276e1fad8fb7a601e7c83ff2bc2 (patch) | |
tree | 7f83910598b33b12730035f086df20b5a53ab99c /tqtinterface/qt4/src/styles/qt_styles.pri | |
parent | 6260b6178868c03aab1644bf93b0ef043654bdb0 (diff) | |
download | experimental-dda8474928bd7276e1fad8fb7a601e7c83ff2bc2.tar.gz experimental-dda8474928bd7276e1fad8fb7a601e7c83ff2bc2.zip |
Added TQt4 HEAD
Diffstat (limited to 'tqtinterface/qt4/src/styles/qt_styles.pri')
-rw-r--r-- | tqtinterface/qt4/src/styles/qt_styles.pri | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/tqtinterface/qt4/src/styles/qt_styles.pri b/tqtinterface/qt4/src/styles/qt_styles.pri new file mode 100644 index 0000000..baf36d5 --- /dev/null +++ b/tqtinterface/qt4/src/styles/qt_styles.pri @@ -0,0 +1,140 @@ +# Qt styles module + +styles { + STYLES_P = styles + HEADERS +=$$STYLES_H/tqstylefactory.h \ + $$STYLES_P/tqstyleinterface_p.h \ + $$STYLES_H/tqstyleplugin.h \ + $$STYLES_H/tqcommonstyle.h + SOURCES +=$$STYLES_CPP/tqstylefactory.cpp \ + $$STYLES_CPP/tqstyleplugin.cpp \ + $$STYLES_CPP/tqcommonstyle.cpp + + tqcontains( styles, all ) { + styles += mac cde motifplus sgi platinum compact interlace windows motif + } + + x11|embedded|!macx-*:styles -= mac + tqcontains( styles, mac ) { + HEADERS +=$$STYLES_H/tqmacstyle_mac.h \ + $$STYLES_H/tqmacstylepixmaps_mac_p.h + SOURCES +=$$STYLES_CPP/tqmacstyle_mac.cpp + HEADERS *= $$STYLES_CPP/tqaquastyle_p.h + SOURCES *= $$STYLES_CPP/tqaquastyle_p.cpp + + !tqcontains( styles, windows ) { + message( mac requires windows ) + styles += windows + } + } + else:DEFINES += TQT_NO_STYLE_MAC + + #embedded|!macx-*:styles -= aqua + tqcontains( styles, aqua ) { + HEADERS += $$STYLES_H/tqaquastyle.h + SOURCES += $$STYLES_CPP/tqaquastyle.cpp + HEADERS *= $$STYLES_CPP/tqaquastyle_p.h + SOURCES *= $$STYLES_CPP/tqaquastyle_p.cpp + + !tqcontains( styles, windows ) { + message( aqua requires windows ) + styles += windows + } + } + else:DEFINES += TQT_NO_STYLE_AQUA + + tqcontains( styles, cde ) { + HEADERS +=$$STYLES_H/tqcdestyle.h + SOURCES +=$$STYLES_CPP/tqcdestyle.cpp + + !tqcontains( styles, motif ) { + message( cde requires motif ) + styles += motif + } + } + else:DEFINES += TQT_NO_STYLE_CDE + + tqcontains( styles, motifplus ) { + HEADERS +=$$STYLES_H/tqmotifplusstyle.h + SOURCES +=$$STYLES_CPP/tqmotifplusstyle.cpp + !tqcontains( styles, motif ) { + message( motifplus requires motif ) + styles += motif + } + } + else:DEFINES += TQT_NO_STYLE_MOTIFPLUS + + tqcontains( styles, interlace ) { + HEADERS +=$$STYLES_H/tqinterlacestyle.h + SOURCES +=$$STYLES_CPP/tqinterlacestyle.cpp + !tqcontains( styles, windows ) { + message( interlace requires windows ) + styles += windows + } + } + else:DEFINES += TQT_NO_STYLE_INTERLACE + + tqcontains( styles, platinum ) { + HEADERS +=$$STYLES_H/tqplatinumstyle.h + SOURCES +=$$STYLES_CPP/tqplatinumstyle.cpp + !tqcontains( styles, windows ) { + message( platinum requires windows ) + styles += windows + } + } + else:DEFINES += TQT_NO_STYLE_PLATINUM + + tqcontains( styles, windowsxp ) { + HEADERS +=$$STYLES_H/tqwindowsxpstyle.h + SOURCES +=$$STYLES_CPP/tqwindowsxpstyle.cpp + !tqcontains( styles, windowsxp ) { + message( windowsxp requires windows ) + styles += windows + } + } + else:DEFINES += TQT_NO_STYLE_WINDOWSXP + + tqcontains( styles, sgi ) { + HEADERS +=$$STYLES_H/tqsgistyle.h + SOURCES +=$$STYLES_CPP/tqsgistyle.cpp + !tqcontains( styles, motif ) { + message( sgi requires motif ) + styles += motif + } + } + else:DEFINES += TQT_NO_STYLE_SGI + + tqcontains( styles, compact ) { + HEADERS +=$$STYLES_H/tqcompactstyle.h + SOURCES +=$$STYLES_CPP/tqcompactstyle.cpp + !tqcontains( styles, windows ) { + message( compact requires windows ) + styles += windows + } + } + else:DEFINES += TQT_NO_STYLE_COMPACT + + wince-*:styles += pocketpc + tqcontains( styles, pocketpc ) { + HEADERS +=$$STYLES_H/tqpocketpcstyle_wce.h + SOURCES +=$$STYLES_CPP/tqpocketpcstyle_wce.cpp + + !tqcontains( styles, windows ) { + message( pocketpc requires windows ) + styles += windows + } + } + else:DEFINES += TQT_NO_STYLE_POCKETPC + + tqcontains( styles, windows ) { + HEADERS +=$$STYLES_H/tqwindowsstyle.h + SOURCES +=$$STYLES_CPP/tqwindowsstyle.cpp + } + else:DEFINES += TQT_NO_STYLE_WINDOWS + + tqcontains( styles, motif ) { + HEADERS +=$$STYLES_H/tqmotifstyle.h + SOURCES +=$$STYLES_CPP/tqmotifstyle.cpp + } + else:DEFINES += TQT_NO_STYLE_MOTIF +} |