41ef1965c5
Some older (or weird) Linux distributions don't have /etc/os-release, so let's try to read /etc/lsb-release instead. If we find a file called /etc/<distronamelowercase>-release and it's bigger than the pretty name we read from /etc/lsb-release, use that. Because the order of the keys changes between the two *-release files, we can't do a sorted search anymore. Change-Id: I1a800c709d3543699131ffff13c48532d5074f3c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Dirk Hohndel <dirk@hohndel.org> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
66 lines
1.3 KiB
Prolog
66 lines
1.3 KiB
Prolog
TEMPLATE=subdirs
|
|
|
|
SUBDIRS = bearerex \
|
|
filetest \
|
|
gestures \
|
|
inputmethodhints \
|
|
keypadnavigation \
|
|
lance \
|
|
network_remote_stresstest \
|
|
network_stresstest \
|
|
qcursor \
|
|
qdesktopservices \
|
|
qdesktopwidget \
|
|
qgraphicsitem \
|
|
qgraphicsitemgroup \
|
|
qgraphicslayout/flicker \
|
|
qhttpnetworkconnection \
|
|
qimagereader \
|
|
qlayout \
|
|
qlocale \
|
|
qmimedatabase \
|
|
qnetworkaccessmanager/qget \
|
|
qnetworkconfigurationmanager \
|
|
qnetworkconfiguration \
|
|
qnetworkreply \
|
|
qscreen \
|
|
qssloptions \
|
|
qsslsocket \
|
|
qsysinfo \
|
|
qtabletevent \
|
|
qtexteditlist \
|
|
qtbug-8933 \
|
|
qtouchevent \
|
|
touch \
|
|
qwidget_zorder \
|
|
repaint \
|
|
socketengine \
|
|
textrendering \
|
|
widgets \
|
|
windowflags \
|
|
windowgeometry \
|
|
windowmodality \
|
|
widgetgrab \
|
|
xembed-raster \
|
|
xembed-widgets \
|
|
shortcuts \
|
|
dialogs \
|
|
windowtransparency \
|
|
unc
|
|
|
|
!contains(QT_CONFIG, openssl):!contains(QT_CONFIG, openssl-linked):SUBDIRS -= qssloptions
|
|
|
|
contains(QT_CONFIG, opengl) {
|
|
SUBDIRS += qopengltextureblitter
|
|
contains(QT_CONFIG, egl): SUBDIRS += qopenglcontext
|
|
}
|
|
|
|
win32 {
|
|
SUBDIRS -= network_remote_stresstest network_stresstest
|
|
# disable some tests on wince because of missing dependencies
|
|
wince*:SUBDIRS -= lance windowmodality
|
|
}
|
|
|
|
lessThan(QT_MAJOR_VERSION, 5): SUBDIRS -= bearerex lance qnetworkaccessmanager/qget qmimedatabase qnetworkreply \
|
|
qpainfo qscreen socketengine xembed-raster xembed-widgets windowtransparency
|