Fix building the dbus examples in CI with qmake and MSVC
The usage of nmake inference rules leads to the wrong .cpp file being picked up by nmake/jom. See details in the linked issue. This partly cherry-picks fb656c036db0549180073e133773862d08f6cd24. Task-number: QTBUG-96513 Change-Id: I97494cf6f46bafe29b18c74af490218e66eb0cef Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
3dbd47bb38
commit
f7a815125a
@ -7,6 +7,8 @@ FORMS += chatmainwindow.ui chatsetnickname.ui
|
||||
DBUS_ADAPTORS += org.example.chat.xml
|
||||
DBUS_INTERFACES += org.example.chat.xml
|
||||
|
||||
CONFIG += no_batch # work around QTBUG-96513
|
||||
|
||||
# install
|
||||
target.path = $$[QT_INSTALL_EXAMPLES]/dbus/chat
|
||||
INSTALLS += target
|
||||
|
@ -4,6 +4,8 @@ DBUS_ADAPTORS += car.xml
|
||||
HEADERS += car.h
|
||||
SOURCES += car.cpp main.cpp
|
||||
|
||||
CONFIG += no_batch # work around QTBUG-96513
|
||||
|
||||
# install
|
||||
target.path = $$[QT_INSTALL_EXAMPLES]/dbus/remotecontrolledcar/car
|
||||
INSTALLS += target
|
||||
|
Loading…
x
Reference in New Issue
Block a user