Revert "Require Qt4.8.1 and CMake deprecate warnings ..."

This reverts commit e1124403fd.

qdbusxml2cpp did not support new annotation names until 4.8.2
This commit is contained in:
John Maguire 2016-03-31 15:06:14 +01:00
parent ed13d02231
commit 1489191794
9 changed files with 18 additions and 18 deletions

View File

@ -32,7 +32,7 @@ if (UNIX AND NOT APPLE)
set(LINUX 1)
endif (UNIX AND NOT APPLE)
find_package(Qt4 4.8.1 REQUIRED QtCore QtGui QtOpenGL QtSql QtNetwork QtXml)
find_package(Qt4 4.5.0 REQUIRED QtCore QtGui QtOpenGL QtSql QtNetwork QtXml)
if(NOT APPLE)
find_package(Qt4 COMPONENTS QtWebKit)

View File

@ -51,7 +51,7 @@
<arg name="host" type="s" direction="in"/>
<arg name="port" type="q" direction="in"/>
<arg name="txt" type="aay" direction="in"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.In8"
<annotation name="com.trolltech.QtDBus.QtTypeName.In8"
value="QList&lt;QByteArray&gt;" />
</method>
@ -73,7 +73,7 @@
<arg name="type" type="s" direction="in"/>
<arg name="domain" type="s" direction="in"/>
<arg name="txt" type="aay" direction="in"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.In6"
<annotation name="com.trolltech.QtDBus.QtTypeName.In6"
value="QList&lt;QByteArray&gt;" />
</method>

View File

@ -132,7 +132,7 @@
<arg name="address" type="s" direction="out"/>
<arg name="port" type="q" direction="out"/>
<arg name="txt" type="aay" direction="out"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out9"
<annotation name="com.trolltech.QtDBus.QtTypeName.Out9"
value="QList&lt;QByteArray&gt;" />
<arg name="flags" type="u" direction="out"/>
</method>

View File

@ -22,7 +22,7 @@
<arg name="body" type="s" direction="in"/>
<arg name="actions" type="as" direction="in"/>
<arg name="hints" type="a{sv}" direction="in"/>
<annotation name="org.qtproject.QtDBus.QtTypeName.In6" value="QVariantMap"/>
<annotation name="com.trolltech.QtDBus.QtTypeName.In6" value="QVariantMap"/>
<arg name="timeout" type="i" direction="in"/>
<arg name="return_id" type="u" direction="out"/>
</method>

View File

@ -636,7 +636,7 @@
<method name="FilesystemListOpenFiles">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantList" />
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVariantList" />
<arg name="processes" direction="out" type="a(uus)">
<doc:doc><doc:summary>
An array of triples (<doc:tt>pid</doc:tt>, <doc:tt>uid</doc:tt>, command line for the process
@ -1355,9 +1355,9 @@
<method name="DriveBenchmark">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantList" />
<annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantList" />
<annotation name="org.qtproject.QtDBus.QtTypeName.Out2" value="QVariantList" />
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVariantList" />
<annotation name="com.trolltech.QtDBus.QtTypeName.Out1" value="QVariantList" />
<annotation name="com.trolltech.QtDBus.QtTypeName.Out2" value="QVariantList" />
<arg name="do_write_benchmark" direction="in" type="b">
<doc:doc><doc:summary>

View File

@ -1051,7 +1051,7 @@
<!-- TODO: maybe this should return a dictionary so we can grow it in the future? -->
<property name="KnownFilesystems" type="a(ssbbbubbbbbbbb)" access="read">
<annotation name="org.qtproject.QtDBus.QtTypeName" value="QVariantList">
<annotation name="com.trolltech.QtDBus.QtTypeName" value="QVariantList">
<doc:doc><doc:description><doc:para>
An array of file systems known to the daemon and what features are supported.
Each element in the array contains the following members:

View File

@ -27,7 +27,7 @@
<property name='Rate' type='d' access='readwrite'/>
<property name='Shuffle' type='b' access='readwrite'/>
<property name='Metadata' type='a{sv}' access='read'>
<annotation name="org.qtproject.QtDBus.QtTypeName" value="QVariantMap"/>
<annotation name="com.trolltech.QtDBus.QtTypeName" value="QVariantMap"/>
</property>
<property name='Volume' type='d' access='readwrite'/>
<property name='Position' type='x' access='read'/>

View File

@ -6,7 +6,7 @@
<property name='PlaylistCount' type='u' access='read' />
<property name='Orderings' type='as' access='read' />
<property name='ActivePlaylist' type='(b(oss))' access='read'>
<annotation name="org.qtproject.QtDBus.QtTypeName" value="MaybePlaylist"/>
<annotation name="com.trolltech.QtDBus.QtTypeName" value="MaybePlaylist"/>
</property>
<method name='ActivatePlaylist'>
<arg direction='in' name='PlaylistId' type='o' />
@ -17,12 +17,12 @@
<arg direction='in' name='Order' type='s' />
<arg direction='in' name='ReverseOrder' type='b' />
<arg direction='out' name='Playlists' type='a(oss)' />
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="MprisPlaylistList"/>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="MprisPlaylistList"/>
</method>
<signal name='PlaylistChanged'>
<arg name='Playlist' type='(oss)' />
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="MprisPlaylist" />
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="MprisPlaylist" />
</signal>
<annotation name="org.qtproject.QtDBus.QtTypeName" value="MaybePlaylist" />
<annotation name="com.trolltech.QtDBus.QtTypeName" value="MaybePlaylist" />
</interface>
</node>

View File

@ -6,7 +6,7 @@
<method name='GetTracksMetadata'>
<arg direction='in' name='TrackIds' type='ao'/>
<arg direction='out' name='Metadata' type='aa{sv}'>
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="TrackMetadata" />
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="TrackMetadata" />
</arg>
</method>
<method name='AddTrack'>
@ -26,7 +26,7 @@
</signal>
<signal name='TrackAdded'>
<arg name='Metadata' type='a{sv}'>
<annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="TrackMetadata"/>
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="TrackMetadata"/>
</arg>
<arg name='AfterTrack' type='o'/>
</signal>
@ -36,7 +36,7 @@
<signal name='TrackMetadataChanged'>
<arg name='TrackId' type='o'/>
<arg name='Metadata' type='a{sv}'>
<annotation name="org.qtproject.QtDBus.QtTypeName.In1" value="TrackMetadata"/>
<annotation name="com.trolltech.QtDBus.QtTypeName.In1" value="TrackMetadata"/>
</arg>
</signal>
<property name='Tracks' type='ao' access='read'/>