File: 2001_build_with_udisk.patch

package info (click to toggle)
qtsystems-opensource-src 5.0~git20190103.e3332ee%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,440 kB
  • sloc: cpp: 31,662; xml: 1,648; javascript: 372; makefile: 41; sh: 2
file content (25 lines) | stat: -rw-r--r-- 863 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Build with udisks support.
Author: Timo Jyrinki <timo.jyrinki@canonical.com>
Date:   Tue Jul 15 07:30:50 2014 +0000

--- a/doc/src/systeminfo/systeminfo.qdoc
+++ b/doc/src/systeminfo/systeminfo.qdoc
@@ -47,6 +47,7 @@
 
      * CONFIG+=upower (linux) will build the UPower dbus backend.
      * CONFIG+=ofono (linux) will build the Ofono dbus backend.
+     * CONFIG+=udisk (linux) will build the Udisk dbus backend.
      * CONFIG+=nox11option (linux) Turns off the use of x11 in QScreenSaver (and screen blanking
      disabling and enabling will not work)
 
--- a/src/systeminfo/systeminfo.pro
+++ b/src/systeminfo/systeminfo.pro
@@ -102,7 +102,7 @@
             DEFINES += QT_NO_OFONO
         }
 
-        config_udisks {
+        contains(CONFIG,udisks): {
             QT_PRIVATE += dbus
         } else: {
             DEFINES += QT_NO_UDISKS