[kalzium] [Bug 383905] error: ‘QGLFormat’ has not been declared

Viktor Yu. Kovalskii bugzilla_noreply at kde.org
Sat Apr 14 05:08:46 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=383905

--- Comment #2 from Viktor Yu. Kovalskii <vityokster at gmail.com> ---
(In reply to Viktor Yu. Kovalskii from comment #1)
> (In reply to Scarlett Clark from comment #0)
> > Created attachment 107472 [details]
> > Add missing include
> > 
> > 15:02:38 /workspace/build/src/kalzium.cpp: In member function
> > ‘MoleculeDialog* Kalzium::slotMoleculeviewer()’:
> > 15:02:38 /workspace/build/src/kalzium.cpp:381:10: error: ‘QGLFormat’ has not
> > been declared
> > 15:02:38      if (!QGLFormat::hasOpenGL()) {
> > 15:02:38           ^
> > 15:02:39 src/CMakeFiles/kalzium.dir/build.make:709: recipe for target
> > 'src/CMakeFiles/kalzium.dir/kalzium.cpp.o' failed
> > 15:02:39 make[4]: *** [src/CMakeFiles/kalzium.dir/kalzium.cpp.o] Error 1
> > 15:02:39 make[4]: *** Waiting for unfinished jobs....
> > 15:02:40 /workspace/build/src/detailinfodlg.cpp: In member function ‘void
> > DetailedInfoDlg::slotLinkClicked(const QUrl&)’:
> > 15:02:40 /workspace/build/src/detailinfodlg.cpp:594:59: warning: ‘static
> > bool KRun::runUrl(const QUrl&, const QString&, QWidget*, bool, bool, const
> > QString&, const QByteArray&)’ is deprecated [-Wdeprecated-declarations]
> > 15:02:40      KRun::runUrl(url, QStringLiteral("text/html"), nullptr);
> > 
> > This patch fixes compile.
> > https://build.neon.kde.org/job/xenial_release_applications_kalzium/30/
> 
> I confirm this bug on my Gentoo boxes ~x86 and ~amd64.
> This patch helps me to compile kalzium-17.12.3.

This bug is fixed by this commit:
https://cgit.kde.org/kalzium.git/commit/?id=1e9225167b36cd1ad80b440b9bd44a39c41ed6d6

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kalzium mailing list