Bug 406596 - error to build kwin since commit 6e1655e3cce082b2e7d0daf21dc58bbe3d4524f2
Summary: error to build kwin since commit 6e1655e3cce082b2e7d0daf21dc58bbe3d4524f2
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 406686 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-16 12:53 UTC by desaparecido
Modified: 2019-05-11 08:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
error when build kwin since commit 6e1655e3cce082b2e7d0daf21dc58bbe3d4524f2 (29 bytes, text/plain)
2019-04-16 12:53 UTC, desaparecido
Details

Note You need to log in before you can comment on or make changes to this bug.
Description desaparecido 2019-04-16 12:53:37 UTC
Created attachment 119435 [details]
error when build kwin since commit 6e1655e3cce082b2e7d0daf21dc58bbe3d4524f2

SUMMARY
I use Archlinux with [testing] and [kde-unstable] repos enable, so Qt 5.13.0beta1.  I can't build kwin since somes days and always about qpa, but only today I take the time to look around it, and after some test is since commit 6e1655e3cce082b2e7d0daf21dc58bbe3d4524f2 than the error appears.  All others packages are up to date to build (KF5 git and dependencies of Kwin git)

STEPS TO REPRODUCE
1. the latest (important) commit build successfully is 79ce5dac9a2af0823c16f80dfff19ef3494d08c3
2. since commit 6e1655e3cce082b2e7d0daf21dc58bbe3d4524f2 I had the same build error (
3. all packages are up-to-date, ccache was cleaned, and build with only one core to find easier where the error is.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2019-04-16 14:42:48 UTC
FWIW, builds on Qt5.13 here.

The error doesn't really make sense unless you're compiling against an old Qt header.

Can you go to /usr/include and run

find -name qwindowsysteminterface.h
Comment 2 desaparecido 2019-04-17 08:56:08 UTC
hi, all my QT5 is up-to-date 5.13beta1, so I don't know how it's possible that, but here is the output of command:

cd /usr/include
find -name qwindowsysteminterface.h
./qt/QtGui/5.13.0/QtGui/qpa/qwindowsysteminterface.h

so, my Qt header seems ok  .. :/
Comment 3 Gustavo Brondani Schenkel 2019-04-21 14:41:57 UTC
Appears your bug is similar or the same reported by me in Bug 406686
Comment 4 Vlad Zahorodnii 2019-04-22 21:17:57 UTC
Can you instead run 

find /usr/include -name qwindowsysteminterface.h -exec grep -l handleScreenAdded {} \;

?
Comment 5 Antonio Rojas 2019-04-22 21:26:29 UTC
Commit 6e1655e3 breaks build with Qt 5.13 beta 1 simply because the Qt changes that this commit addresses happened *after* beta 1. Since beta 2 is out now, this is no longer an issue.
Comment 6 Vlad Zahorodnii 2019-04-22 21:30:04 UTC
Awesome \o/

We can close this bugg report then.
Comment 7 Christoph Feck 2019-05-11 08:45:42 UTC
*** Bug 406686 has been marked as a duplicate of this bug. ***