Sergio Martins
6f7e47324c
Minor: improve an include
2021-06-18 17:50:42 +01:00
Sergio Martins
b68f81779c
Fix possible crash
...
Observed with an MFC application
2021-06-18 16:02:33 +01:00
Sergio Martins
4c1b433269
Fix a -Wclazy-fully-qualified-moc-types error
2021-06-17 22:02:35 +01:00
Sergio Martins
7c63da18ed
Remove some dead code
...
Both if branches already return something
2021-06-17 13:03:00 +01:00
Sergio Martins
6f2e5ecc3b
Add a missing qglobal.h include
2021-06-17 13:00:48 +01:00
Sergio Martins
759cf33f08
Windows: Link to Dwmapi.lib via pragma
...
So I don't have to figure out some exotic non-cmake build systems
It's more self-contained this way anyway.
2021-06-16 12:41:40 +01:00
Sergio Martins
77279d21ef
Fixed a MSVC warning about unreachable code
2021-06-16 12:32:25 +01:00
Sergio Martins
46872fdfe8
Fix build if each header is built individually, probably
...
This header is included by QWidgetAdapter.h, but if some exotic
build system builds QWidgetAdapter_widgets_p.h individially then
we need to forward declare some functions
2021-06-15 21:35:55 +01:00
Sergio Martins
79fe9c2875
cmake: Remove private/ from our PRIVATE include path
...
Because some build systems don't support public/private includes,
and would require us to add private/ to the public include path.
This allows for an easier integration with some more exotic
build systems
2021-06-15 19:53:05 +01:00
Allen Winter
f04ea37ac2
appveyor.yml - disable email notification on build_success
2021-06-15 12:04:01 -04:00
Sergio Martins
d2db92f1e7
Remove private/multisplitter/ from private include path
...
It's not needed.
Even wrong since then ../LayoutSaver_p.h would work
2021-06-15 16:46:07 +01:00
Sergio Martins
206433e430
Fix embedding in non-KDDW QMainWindow
...
Supports the case of having our KDDW MainWindow parented to another
main window. Was broken on Windows.
2021-06-14 06:43:06 +01:00
Allen Winter
fb1f3fa931
CMakeLists.txt - ECM doesn't support generating pri files for Qt6 yet
2021-06-09 09:12:14 -04:00
Allen Winter
3d106ae2f1
python/CMakeLists.txt - fix for Qt6Widgets_VERSION
2021-06-08 19:01:31 -04:00
Allen Winter
7b5d5d0f31
buildsystem - fix some --warn-uninitialized
2021-06-08 10:44:33 -04:00
Allen Winter
20174989a6
Merge branch '1.3'
2021-06-08 09:20:33 -04:00
Allen Winter
80d48adc07
docs/api/Doxyfile.cmake - set PROJECT_NUMBER to major.minor
...
don't use the patch level in the PROJECT_NUMBER
2021-06-08 09:19:53 -04:00
Allen Winter
3454185df4
Merge branch '1.3'
2021-06-07 17:14:25 -04:00
Allen Winter
9de0868c74
open for 1.3.2 (unknown yet if there will be such a thing)
2021-06-07 17:13:07 -04:00
Allen Winter
66cb6c7dee
kddockwidgets.spec - fix for CentOS
v1.3.1
2021-06-07 16:32:17 -04:00
Allen Winter
1ce67b1c8f
prep for 1.3.1 release
2021-06-07 16:09:03 -04:00
Allen Winter
a9bb5b2f42
README.md - in Using section talk about CMAKE_PREFIX_PATH
...
was mistakenly CMAKE_MODULE_PATH
2021-06-07 16:01:27 -04:00
Allen Winter
97ca7fd2a0
CONTRIBUTORS: sync with master
2021-06-07 15:32:42 -04:00
Roman Pudashkin
b85e291d40
need to remove the old filter instead of the new one
2021-06-05 16:09:04 +01:00
Allen Winter
b3e3752789
.travis.yml, appveyor.yml - tweak email notification
...
notify on failures only
2021-05-28 08:41:16 -04:00
Sergio Martins
7cd6928b87
README: Add a travis "Build Passing" label
2021-05-25 22:07:33 +01:00
Sergio Martins
bb1b3c7b7b
Fix non-windows developer build
...
Build was complaining about unused function
2021-05-25 14:06:14 +01:00
Allen Winter
49c7cea3a5
.travis.yml - apt install libqt5x11extras5-dev
2021-05-25 08:54:33 -04:00
Allen Winter
64f5009297
.travis.yml appveyor.yml - add travis-ci and appveyor CI
2021-05-25 08:48:01 -04:00
Eism
0ab701bab6
qtquick: Fix detecting top level geometry
...
For QtQuick we want the QWindow geometry. For QtWidget it just works,
as the top level widget as the same geometry as the window, unlike
QQuickItem.
Fixes issue #199
2021-05-24 11:45:37 +01:00
Sergio Martins
1721415799
Fix more warnings at shutdown
2021-05-23 22:42:26 +01:00
Sergio Martins
26269459db
qtquick: Fix some warnings at shutdown
2021-05-23 22:37:42 +01:00
Sergio Martins
675da6b2e2
qtquick: Fix test on linux
...
Querying drop indicator doesn't work if indicator window
isn't visible, so actually do a full drag.
For issue #199
2021-05-23 22:06:05 +01:00
Sergio Martins
517bfca259
Add a unit-test for issue #199
2021-05-23 12:20:20 +01:00
Eism
3e30685eb4
Expose MainWindowBase::windowGeometry(), so it can be used
...
Just moves the code from private to public.
For issue #199
2021-05-23 11:34:53 +01:00
Roman Pudashkin
95cbba4618
qtquick: Fix crash by using deleteLater()
...
For issue #200
2021-05-22 10:22:58 +01:00
Sergio Martins
d89c6b9c06
qtquick|windows: Fix potential crash with offscreen QPA
...
Which also fixes a test. Now all tests pass.
The explanation was added in a comment.
2021-05-21 23:46:42 +01:00
Sergio Martins
4bda994d5c
qtquick: Fix Qt6 warning about "mouse" being injected
2021-05-21 16:44:30 +01:00
Sergio Martins
2b4f6f33af
qtquick: Fix Qt6 build
2021-05-21 16:38:12 +01:00
Sergio Martins
62500a322f
qtquick: Fix calling titleBarFilename() function
...
Probably worked before, but the argument was bogus, as the
function doesn't accept arguments
2021-05-21 09:47:09 +01:00
Sergio Martins
ae58a8b9df
Fix boolean variables being accessed before initialization
...
As detected by ASAN:
ClassicIndicators.cpp:66:12: runtime error: load of value 190, which is not a valid value for type 'bool'
2021-05-21 09:24:58 +01:00
Sergio Martins
2a8732fdcd
cmake: Add preset for qtquick developer-build
2021-05-20 23:40:23 +01:00
Sergio Martins
19931ec18e
cmake: Fix my Qt6 builds
2021-05-20 23:38:47 +01:00
Sergio Martins
b981fc4b7d
qtquick: Fix tst_dockWindowWithTwoSideBySideFramesIntoCenter()
...
Moving windows around is async for QtQuick and needs a wait
2021-05-20 22:44:58 +01:00
Sergio Martins
4b2f268921
qtquick: fix tst_positionWhenShown on Windows
2021-05-20 22:44:26 +01:00
Sergio Martins
7fb5a8d444
Merge branch '1.3'
2021-05-20 18:54:18 +01:00
Sergio Martins
913cc16371
Fix failing test on Windows due to the button hack
...
During tests, our mouse button isn't really pressed, as we
send fake press events. Only use the workaround in production.
2021-05-20 18:47:32 +01:00
Sergio Martins
4e8a9ff8ed
tests: fix a flaky test on Windows
...
The drop area doesn't fill the floating window, so the
center was off and the drop didn't happen
Additionally, disabled AeroSnap, for debugging purposes, so we can
actually see the window moving, otherwise it doesn't move, since
we can't fake a native drag. It's just a visual bonus, doesn't
affect the correctness.
2021-05-20 18:28:23 +01:00
Sergio Martins
68034de1a7
cmake: Fix ASAN not actually being enabled
...
Was only enabled for the tests.
Needed to move it up.
2021-05-20 16:41:10 +01:00
Sergio Martins
f67d8615ca
cmake: Remove manually setting ASAN on Windows
...
It's done by ECM now
2021-05-20 16:30:23 +01:00