Public bug reported:
Whenn compiling a application based on Qt5, that uses Qwt library, the compiler
generates a error like ‘QT_STATIC_CONST’ does not name a type.
By defining QT_STATIC_CONST just before inserting Qwt file, compilation works.
- In Qt5.4 , QT_STATIC_CONST was removed from qglobal.h
- Qwt 6.1.1 uses this macro, but fixed it in Qwt 6.1.2
Source: http://sourceforge.net/p/qwt/mailman/message/32941340/
- In Ubuntu 15.04 we have Qt 5.4 and Qwt 6.1.1
This seems to be a similar problem that was reported to RedHat:
https://bugzilla.redhat.com/show_bug.cgi?id=1164515
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: libqwt-qt5-dev 6.1.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
Uname: Linux 3.19.0-25-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.2
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Aug 15 15:20:49 2015
InstallationDate: Installed on 2014-10-29 (289 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: qwt-qt5
UpgradeStatus: Upgraded to vivid on 2015-08-14 (1 days ago)
** Affects: qwt-qt5 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug vivid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485213
Title:
Compile error: ‘QT_STATIC_CONST’ does not name a type
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qwt-qt5/+bug/1485213/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs