Peter Hartmann 7693c8d911
fix build on Windows (#176)
* fix build on Windows

fixes the following error from CI:

common\QskAspect.cpp(199): error C2666: 'QFlags<QskAspect::State>::operator &': 3 overloads have similar conversions
D:\a\qskinny\Qt\5.15.2\msvc2019_64\include\QtCore/qflags.h(146): note: could be 'QFlags<QskAspect::State> QFlags<QskAspect::State>::operator &(Enum) noexcept const'
        with
        [
            Enum=QskAspect::State
        ]
D:\a\qskinny\Qt\5.15.2\msvc2019_64\include\QtCore/qflags.h(145): note: or       'QFlags<QskAspect::State> QFlags<QskAspect::State>::operator &(uint) noexcept const'
D:\a\qskinny\Qt\5.15.2\msvc2019_64\include\QtCore/qflags.h(144): note: or       'QFlags<QskAspect::State> QFlags<QskAspect::State>::operator &(int) noexcept const'
common\QskAspect.cpp(199): note: or       'built-in C++ operator&(QFlags<QskAspect::State>::Int, quint16)'
common\QskAspect.cpp(199): note: while trying to match the argument list '(QskAspect::States, const quint16)'

* fix build on Windows

fixes the following error from CI:

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3124): error C2027: use of undefined type 'QskMenuSkinlet::PrivateData'
D:\a\qskinny\qskinny\src\controls\QskMenuSkinlet.h(54): note: see declaration of 'QskMenuSkinlet::PrivateData'
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3123): note: while compiling class template member function 'void std::default_delete<QskMenuSkinlet::PrivateData>::operator ()(_Ty *) noexcept const'
        with
        [
            _Ty=QskMenuSkinlet::PrivateData
        ]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3233): note: see reference to function template instantiation 'void std::default_delete<QskMenuSkinlet::PrivateData>::operator ()(_Ty *) noexcept const' being compiled
        with
        [
            _Ty=QskMenuSkinlet::PrivateData
        ]
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3160): note: see reference to class template instantiation 'std::default_delete<QskMenuSkinlet::PrivateData>' being compiled
D:\a\qskinny\qskinny\src\controls\QskMenuSkinlet.h(55): note: see reference to class template instantiation 'std::unique_ptr<QskMenuSkinlet::PrivateData,std::default_delete<QskMenuSkinlet::PrivateData>>' being compiled
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3124): error C2338: can't delete an incomplete type
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.31.31103\include\memory(3125): warning C4150: deletion of pointer to incomplete type 'QskMenuSkinlet::PrivateData'; no destructor called
D:\a\qskinny\qskinny\src\controls\QskMenuSkinlet.h(54): note: see declaration of 'QskMenuSkinlet::PrivateData
2022-04-13 11:24:18 +02:00
..
2022-01-05 12:05:44 +01:00
2021-08-04 11:32:33 +02:00
2021-12-29 15:27:53 +01:00
2021-12-29 15:27:53 +01:00
2020-08-09 10:43:52 +02:00
2020-09-23 12:32:08 +02:00
2020-08-09 11:50:34 +02:00
2020-08-09 11:50:34 +02:00
2020-08-09 11:50:34 +02:00
2020-12-29 12:57:03 +01:00
2021-02-01 10:24:40 +01:00
2022-04-05 08:48:16 +02:00
2022-04-05 08:48:16 +02:00
2022-04-05 10:15:08 +02:00
2022-04-08 16:46:20 +02:00
2022-04-08 16:46:20 +02:00
2022-03-23 11:54:34 +01:00
2019-05-16 08:14:32 +02:00
2022-03-20 13:11:34 +01:00
2018-08-03 08:15:28 +02:00
2022-03-24 08:08:40 +01:00
2021-12-23 19:05:59 +01:00
2021-10-12 17:57:07 +02:00
2021-02-01 10:24:40 +01:00
2022-03-20 13:11:34 +01:00
2022-03-24 17:10:11 +01:00
2022-01-12 13:29:42 +01:00
2021-12-23 18:15:54 +01:00
wip
2022-04-05 11:38:23 +02:00
2022-01-06 18:36:15 +01:00
2022-04-13 11:24:18 +02:00
2022-04-13 11:24:18 +02:00
2022-03-24 17:33:01 +01:00
2022-03-24 17:13:47 +01:00
2022-04-08 16:46:20 +02:00
2022-01-07 15:09:05 +01:00
2021-12-23 18:19:52 +01:00
2021-12-23 18:19:52 +01:00
2021-12-29 17:05:29 +01:00
2021-12-23 19:05:59 +01:00
2022-04-08 16:46:20 +02:00
2022-04-08 16:46:20 +02:00
2022-04-08 16:46:20 +02:00
2022-04-08 16:46:20 +02:00
2022-01-17 09:46:27 +01:00
2022-01-12 13:29:42 +01:00
2022-01-12 13:29:42 +01:00
2021-12-22 15:07:51 +01:00
2021-12-22 15:07:51 +01:00
2021-07-14 14:43:12 +02:00
2021-12-24 16:18:46 +01:00
2018-08-03 08:30:23 +02:00
2022-04-08 15:37:55 +02:00
2018-08-03 08:15:28 +02:00
2022-03-24 08:41:11 +01:00
2022-03-24 11:12:45 +01:00
2022-03-24 17:18:27 +01:00
2022-03-29 08:08:46 +02:00
2022-03-24 11:17:03 +01:00
2021-12-29 17:05:29 +01:00
2022-01-04 15:54:16 +01:00
2022-02-08 08:59:34 +01:00
2022-02-08 08:59:34 +01:00
2022-03-20 13:11:34 +01:00
2022-03-20 13:11:34 +01:00
2021-12-22 10:55:48 +01:00
2021-12-22 10:55:48 +01:00
2022-03-24 08:42:54 +01:00
2021-08-04 15:06:04 +02:00
2021-08-04 09:31:16 +02:00
2020-08-10 14:24:42 +02:00
2022-03-24 08:10:29 +01:00
2021-08-04 09:31:16 +02:00
2022-03-20 13:11:34 +01:00