Files
qtmultimedia/sync.profile
Michael Goddard c97f5f8c2e Properly handle the case where QtWidgets is not available.
It does use a config test for now, just to make it clearer.  The Mac
backend currently requires widgets, but most of the others should work
without it (just not supporting QVideoWidget/WindowControl).

The QVideoDeviceControl interface was modified to remove the QIcon
usage - it was never implemented.

Unfortunately even the QML examples need widgets for the wrapper
application, and will need to be ported to QtGui based wrapper.

Change-Id: I8a55ad5cf09ab51749510bf16f49de0bd3f0bcdb
Reviewed-by: Ling Hu <ling.hu@nokia.com>
2012-01-06 05:26:01 +01:00

58 lines
1.7 KiB
Plaintext

%modules = ( # path to module name map
"QtMultimedia" => "$basedir/src/multimedia",
"QtMultimediaWidgets" => "$basedir/src/multimediawidgets",
);
%moduleheaders = ( # restrict the module headers to those found in relative path
);
%classnames = (
"qtmultimediaversion.h" => "QtMultimediaVersion",
"qtmultimediawidgetsversion.h" => "QtMultimediaWidgetsVersion",
);
%mastercontent = (
"gui" => "#include <QtGui/QtGui>\n",
"network" => "#include <QtNetwork/QtNetwork>\n",
"core" => "#include <QtCore/QtCore>\n",
);
%modulepris = (
"QtMultimedia" => "$basedir/modules/qt_multimedia.pri",
"QtMultimediaWidgets" => "$basedir/modules/qt_multimediawidgets.pri",
);
# Module dependencies.
# Every module that is required to build this module should have one entry.
# Each of the module version specifiers can take one of the following values:
# - A specific Git revision.
# - any git symbolic ref resolvable from the module's repository (e.g. "refs/heads/master" to track master branch)
#
%dependencies = (
"qtbase" => "refs/heads/master",
"qtsvg" => "refs/heads/master",
"qtxmlpatterns" => "refs/heads/master",
"qtdeclarative" => "refs/heads/master",
);
# Compile tests
%configtests = (
# Widgets (to make things easier)
"widgets" => {message => "Disabling widget related code. To enable, make sure that QtWidgets exists."},
# Windows tests
"directshow" => {},
"wmsdk" => {},
"wmp" => {},
"wmf" => {},
"evr" => {},
# Linux tests
"alsa" => {},
"gstreamer" => {},
"gstreamer_photography" => {},
"gstreamer_appsrc" => {},
"pulseaudio" => {},
"resourcepolicy" => {},
"xvideo" => {},
);