fix qmake linux build, and fix the "Quick" example (#194)
* fix: qmake linux build * little fix for the "Quick" example Window.qml / ApplicationWindow.qml: fix: "FramelessApplicationWindow.onClosing" is not available in org.wangwenx190.FramelessHelper 1.0. * remove xcb - as requested
This commit is contained in:
parent
4a903a5805
commit
32457c5538
|
@ -43,7 +43,13 @@ FramelessApplicationWindow {
|
|||
}
|
||||
return FramelessUtils.defaultSystemLightColor;
|
||||
}
|
||||
onClosing: Settings.saveGeometry(window)
|
||||
Connections {
|
||||
target: window
|
||||
function onClosing(close)
|
||||
{
|
||||
Settings.saveGeometry(window)
|
||||
}
|
||||
}
|
||||
|
||||
FramelessHelper.onReady: {
|
||||
// Let FramelessHelper know what's our homemade title bar, otherwise
|
||||
|
|
|
@ -43,7 +43,13 @@ FramelessWindow {
|
|||
}
|
||||
return FramelessUtils.defaultSystemLightColor;
|
||||
}
|
||||
onClosing: Settings.saveGeometry(window)
|
||||
Connections {
|
||||
target: window
|
||||
function onClosing(close)
|
||||
{
|
||||
Settings.saveGeometry(window)
|
||||
}
|
||||
}
|
||||
|
||||
FramelessHelper.onReady: {
|
||||
// Let FramelessHelper know what's our homemade title bar, otherwise
|
||||
|
|
|
@ -64,6 +64,9 @@ win32 {
|
|||
}
|
||||
|
||||
unix:!macx {
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += gtk+-3.0
|
||||
DEFINES += GDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_6
|
||||
HEADERS += \
|
||||
$$CORE_PUB_INC_DIR/framelesshelper_linux.h
|
||||
SOURCES += \
|
||||
|
|
Loading…
Reference in New Issue