> On Sept. 6, 2014, 2:46 p.m., Lukáš Tinkl wrote: > > [ 22%] Building CXX object src/CMakeFiles/KF5XmlGui.dir/kmainwindow.cpp.o > > > > > > /home/ltinkl/git/plasma-next-setup-script/kxmlgui/src/kmainwindow.cpp: In > > member function ‘virtual void KMainWindow::applyMainWindowSettings(const > > KConfigGroup&)’: > > /home/ltinkl/git/plasma-next-setup-script/kxmlgui/src/kmainwindow.cpp:616:30: > > error: invalid use of incomplete type ‘class QWindow’ > > resize(windowHandle()->size()); > > ^ > > In file included from /usr/include/qt5/QtWidgets/qwidget.h:45:0, > > from /usr/include/qt5/QtWidgets/qmainwindow.h:45, > > from /usr/include/qt5/QtWidgets/QMainWindow:1, > > from > > /home/ltinkl/git/plasma-next-setup-script/kxmlgui/src/kmainwindow.h:34, > > from > > /home/ltinkl/git/plasma-next-setup-script/kxmlgui/src/kmainwindow.cpp:27: > > /usr/include/qt5/QtGui/qwindowdefs.h:56:7: error: forward declaration of > > ‘class QWindow’ > > class QWindow; > > ^ > > In file included from > > /home/ltinkl/git/plasma-next-setup-script/kxmlgui/src/kmainwindow.cpp:890:0: > > /home/ltinkl/git/plasma-next-setup-script/kxmlgui/build/src/moc_kmainwindow.cpp: > > In static member function ‘static void > > KMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’: > > /home/ltinkl/git/plasma-next-setup-script/kxmlgui/build/src/moc_kmainwindow.cpp:110:42: > > warning: ‘virtual void KMainWindow::showAboutApplication()’ is deprecated > > (declared at > > /home/ltinkl/git/plasma-next-setup-script/kxmlgui/src/kmainwindow.h:604) > > [-Wdeprecated-declarations] > > case 5: _t->showAboutApplication(); break; > > ^ > > make[2]: *** [src/CMakeFiles/KF5XmlGui.dir/kmainwindow.cpp.o] Error 1 > > make[1]: *** [src/CMakeFiles/KF5XmlGui.dir/all] Error 2 > > make: *** [all] Error 2 > > Thomas Lübking wrote: > gah... blast. you can't trust anybody anymore ;-) > sorry for the trouble.
ah, forgot to mention in the report that it needs a QWindow include - Hrvoje ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/120078/#review65899 ----------------------------------------------------------- On Sept. 6, 2014, 3:43 p.m., Thomas Lübking wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/120078/ > ----------------------------------------------------------- > > (Updated Sept. 6, 2014, 3:43 p.m.) > > > Review request for KDE Frameworks and kdelibs. > > > Bugs: 337353 > https://bugs.kde.org/show_bug.cgi?id=337353 > > > Repository: kxmlgui > > > Description > ------- > > This > a) ensures there's windowaHandle() to restore the size for > b) works around a pending Qt bug by explicitly coyping the restored QWindow > size to the QWidget size > > also see https://git.reviewboard.kde.org/r/119594/ > > > Diffs > ----- > > src/kmainwindow.cpp e273a76 > > Diff: https://git.reviewboard.kde.org/r/120078/diff/ > > > Testing > ------- > > Hrvoje, see bug - not tested myself. > > > Thanks, > > Thomas Lübking > >
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel