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

Viktor Yu. Kovalskii bugzilla_noreply at kde.org
Thu Apr 12 02:27:14 UTC 2018


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

Viktor Yu. Kovalskii <vityokster at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vityokster at gmail.com

--- Comment #1 from Viktor Yu. Kovalskii <vityokster at gmail.com> ---
(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.

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


More information about the Kalzium mailing list