mkspecs/features/dbusinterfaces.prf
changeset 29 b72c6db6890b
parent 0 1918ee327afb
child 33 3e2da88830cd
equal deleted inserted replaced
25:e24348a560a6 29:b72c6db6890b
     1 load(moc)
     1 load(moc)
     2 
     2 
     3 isEmpty(QMAKE_QDBUSXML2CPP) {
     3 qtPrepareTool(QMAKE_QDBUSXML2CPP, qdbusxml2cpp)
     4     win32:QMAKE_QDBUSXML2CPP = $$[QT_INSTALL_BINS]\qdbusxml2cpp.exe
       
     5     else:QMAKE_QDBUSXML2CPP = $$[QT_INSTALL_BINS]/qdbusxml2cpp
       
     6 }
       
     7 
     4 
     8 for(DBUS_INTERFACE, $$list($$unique(DBUS_INTERFACES))) {
     5 for(DBUS_INTERFACE, $$list($$unique(DBUS_INTERFACES))) {
     9 
     6 
    10     !contains(DBUS_INTERFACE, .*\w\.xml$) {
     7     !contains(DBUS_INTERFACE, .*\w\.xml$) {
    11         warning("Invalid D-BUS interface : '$${DBUS_INTERFACE}', please use 'com.mydomain.myinterface.xml' instead.")
     8         warning("Invalid D-BUS interface : '$${DBUS_INTERFACE}', please use 'com.mydomain.myinterface.xml' instead.")