qwindowkit
qwindowkit copied to clipboard
Cross-platform frameless window framework for Qt. Support Windows, macOS, Linux.
cmake -B build -S . \ -DCMAKE_INSTALL_PREFIX=/path/install \ -G "Ninja Multi-Config" cmake --build build --target install --config Release 然后报错: [2/11] Building CXX object src/core/CMakeFiles/QWKCore.dir/Release/style/styleagent_win.cpp.obj FAILED: src/core/CMakeFiles/QWKCore.dir/Release/style/styleagent_win.cpp.obj In file included from...
For some reason I need to register two hWND to the qml main window with QQuickItem. And in order to avoid other components being covered by those, I have to...
使用QWK::WidgetWindowAgent设置右侧的系统按钮,包括最小化,最大化和关闭三个按钮,这三个按钮的点击事件将失效。 ```c++ windowAgent->setSystemButton(QWK::WindowAgentBase::Minimize, minButton); windowAgent->setSystemButton(QWK::WindowAgentBase::Maximize, maxButton); windowAgent->setSystemButton(QWK::WindowAgentBase::Close, closeButton); ```
The wrong position will be fixed by the next resize of the main window.
复现流程:直接编译仓库,使用示例程序,在Windows 10下使用DWM Blur效果,窗口边缘会出现多余模糊(这部分本该是窗口阴影),顶部出现多余横线(约1px,系统日间模式为纯白,夜间模式为纯黑)。 图片:
我自定义了一个标题栏连接了showMaximized()函数,添加了拖动功能,拖动最大化后的标题栏出现突出的白边,不知道为什么。
 这是我基于example修改的,如图所示当子窗体和主窗体titleBar的几何重叠时,子窗体的重叠部分的鼠标事件会一起被屏蔽掉 设置nativeWindow可以解决但是ui渲染会有问题 主窗体设置了hitTestVisible的部分不会有这个问题
 用的 qt6.5。麻烦看看呢。 主要想测试下这个库实现的无边框窗口在两个显示器之间拖动时,显示是否正常。
``` cmake -B build -S . \ -DCMAKE_PREFIX_PATH="D:/qt6.8/6.8.1/msvc2022_64" \ -Dqmsetup_DIR="D:/myfile/myproject/ohter_project/qwindowkit/qmsetup" \ -DQWINDOWKIT_BUILD_QUICK=TRUE \ -DCMAKE_INSTALL_PREFIX="D:/qwindowkit/install" \ -G "Ninja Multi-Config" ``` 报错如下,究竟错在哪,我实在想不通为什么就是路径都会报错??? ``` -- Configuring incomplete, errors occurred! -DCMAKE_PREFIX_PATH=D:/qt6.8/6.8.1/msvc2022_64 : 无法将“-DCMAKE_PREFIX_PATH= D:/qt6.8/6.8.1/msvc2022_64”项识别为...