Launchpad has imported 14 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=1164515.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
On 2014-11-16T02:25:34+00:00 Brallan wrote:
Description of problem:
The current version of Qwt works only with Qt4. Some errors are produced while
build a Qt5 project using it in QtCreator.
Version-Release number of selected component (if applicable):
6.1.0
How reproducible:
Always
Steps to Reproduce:
1. Create a Qwt plot
2. Configure properly .pro file in QtCreator (add LIBS += -lqwt)
3. Compile. Segmentation fault is produced
Actual results:
The Qwt Fedora package was compiled using Qt4 instead of Qt5
Expected results:
Depending of the Qt version of the project, there would be a Qwt for it
Additional info:
http://stackoverflow.com/questions/21682219/segfault-in-qt-code-when-linking-qwt-libraries
Reply at: https://bugs.launchpad.net/ubuntu/+source/qwt-
qt5/+bug/1485213/comments/0
On 2014-11-16T02:50:39+00:00 Rex wrote:
Hrm, last I tried, qwt didn't support qt5
I'll check again.
Reply at: https://bugs.launchpad.net/ubuntu/+source/qwt-
qt5/+bug/1485213/comments/1
On 2014-11-16T02:52:39+00:00 Rex wrote:
http://qwt.sourceforge.net/qwtinstall.html
claims it does, but
[ qwt-6.1.1]$ qmake-qt5 .
[ qwt-6.1.1]$ make
cd src/ && ( test -e Makefile || /usr/bin/qmake-qt5
/home/rdieter1/SCM/pkgs.fedoraproject.org/BUILDROOT/qwt-6.1.1/src/src.pro -o
Makefile ) && make -f Makefile
make[1]: Entering directory
`/home/rdieter1/SCM/pkgs.fedoraproject.org/BUILDROOT/qwt-6.1.1/src'
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS
-DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB
-DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB
-I/usr/lib64/qt5/mkspecs/linux-g++ -I. -isystem /usr/include/qt5 -isystem
/usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtSvg -isystem
/usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem
/usr/include/qt5/QtGui -isystem /usr/include/qt5/QtConcurrent -isystem
/usr/include/qt5/QtCore -Imoc -o obj/qwt_abstract_scale_draw.o
qwt_abstract_scale_draw.cpp
In file included from qwt_scale_map.h:14:0,
from qwt_abstract_scale_draw.cpp:14:
qwt_transform.h:110:5: error: ‘QT_STATIC_CONST’ does not name a type
QT_STATIC_CONST double LogMin;
^
qwt_transform.h:111:5: error: ‘QT_STATIC_CONST’ does not name a type
QT_STATIC_CONST double LogMax;
^
make[1]: *** [obj/qwt_abstract_scale_draw.o] Error 1
make[1]: Leaving directory
`/home/rdieter1/SCM/pkgs.fedoraproject.org/BUILDROOT/qwt-6.1.1/src'
make: *** [sub-src-make_first-ordered] Error 2
I'll try to contact upstream to find out what's going wrong here.
Reply at: https://bugs.launchpad.net/ubuntu/+source/qwt-
qt5/+bug/1485213/comments/2
On 2014-11-16T03:52:00+00:00 Rex wrote:
I found upstream has a couple of Qt-5.4-specific fixes committed since
6.1.1 release, which look promising.
Reply at: https://bugs.launchpad.net/ubuntu/+source/qwt-
qt5/+bug/1485213/comments/3
On 2014-11-16T04:00:21+00:00 Rex wrote:
Oh, it's too bad, upstream's Qt5 support is ... poor.
They currently do not support parallel-installs of both Qt4 and Qt5
versions (library names and support files are all named the same).
Fixing this is likely a prerequisite before we can ship a qt5-enabled
qwt build in fedora.
Reply at: https://bugs.launchpad.net/ubuntu/+source/qwt-
qt5/+bug/1485213/comments/4
On 2014-11-16T04:02:31+00:00 Rex wrote:
marking RFE/FutureFeature
Reply at: https://bugs.launchpad.net/ubuntu/+source/qwt-
qt5/+bug/1485213/comments/5
On 2014-11-26T16:31:07+00:00 Rex wrote:
Fwiw, appended is the patch opensuse currently uses, referenced in upstream ml
discussion on this topic,
http://sourceforge.net/p/qwt/mailman/message/33075738/
diff -urN qwt-6.1.0-orig/designer/designer.pro qwt-6.1.0/designer/designer.pro
--- qwt-6.1.0-orig/designer/designer.pro2013-05-30 18:18:27.753341938
+0300
+++ qwt-6.1.0/designer/designer.pro 2013-09-16 18:10:22.317441101 +0300
@@ -95,7 +95,7 @@
LIBS += -L$${QWT_ROOT}/lib
}
-qwtAddLibrary(qwt)
+qwtAdd