Description of problem: When handling any qwt element on QtDesigner, the header path of the element is set as in the path of the project and not the proper include path. Version-Release number of selected component (if applicable): qwt-devel-5.2.2-2.fc17 How reproducible: easy Steps to Reproduce: 1. Install QtCreator package and qwt-devel library 2. Create a Qt GUI Application and add a qwt component to the main window using the QtDesigner. 3. Include the qwt library 4. Try to compile Actual results: Compilation fails with the current message qwt_plot.h: No such file or directory Expected results: Should compile without problems Additional info: This can be manually fixed on any project by adding the folowing line to the .pro project INCLUDEPATH += /usr/include/qwt or modifying the .ui file, changing the section: "<customwidgets> <customwidget> <class>QwtPlot</class> <extends>QFrame</extends> <header>qwt_plot.h</header> </customwidget> </customwidgets>" to "<customwidgets> <customwidget> <class>QwtPlot</class> <extends>QFrame</extends> <header location="global">qwt/qwt_plot.h</header> </customwidget> </customwidgets>"
This issue still exists with qwt-devel-6.0.1-1.fc18. The problem is, that the include and lib path inside "/usr/lib64/qt4/mkspecs/features/qwtconfig.pri" are pointing to /usr/local/qwt-6.0.1/{include,lib}. During building/installing these paths are modified to point to the correct place, by 'CONFIG+=install-qt' (inside the SPEC) and qwt-6.0.1-install_qt.patch. When adding 'CONFIG+=install-qt' to my project file everything works fine. I suggest remove the 'CONFIG+=install-qt' option and make the changes inside the patch permanent (independent from the presents of 'CONFIG+=install-qt')
I am still suffering from this problem, but I don't see any response of an qwt maintainer. I'm willing to provide a patch, iff there's a maintainer willing to cooperate with me.
yes, (preferably upstreamable) patches are definitely welcome.
Created attachment 788483 [details] Patch to resolve the issue 824447.patch is a patch against current qwt master (fedora packages git). It resolves the above mentioned issue for me. BTW: I just saw that qwt 6.1.0 is out (Just for your information)
Hey Rex, are there any news about this issue?
Sorry I must've missed the notice about the patch you attached. Unfortunately, that's not upstreamable, all it does is hard-code path replacements.
that said, I guess it is better than the status quo, I'll try to spend some more time this week to resolve it.
qwt-6.1.0-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/qwt-6.1.0-1.fc20
qwt-6.1.0-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/qwt-6.1.0-1.fc19
qwt-6.1.0-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/qwt-6.1.0-1.fc18
Inspecting closer, seems qwt-6.1.0 changes api a bit, trying to figure out if it's still worth pushing that to f18/f19, or backporting the fix to qwt-6.0.x packaging.
qwt 6.1.0 breaks compatibility with qwt-polar
Yeah, that's what I figured out. :( Backporting it is...
qwt-6.0.1-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/qwt-6.0.1-5.fc18
qwt-6.0.1-5.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/qwt-6.0.1-5.fc19
Package qwt-6.1.0-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qwt-6.1.0-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-20325/qwt-6.1.0-1.fc20 then log in and leave karma (feedback).
qwt-6.0.1-5.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
qwt-6.0.1-5.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
Package qgis-2.0.1-6.fc20, qwtpolar-1.1.0-0.2.rc1.fc20, qwt-6.1.0-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qgis-2.0.1-6.fc20 qwtpolar-1.1.0-0.2.rc1.fc20 qwt-6.1.0-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-20325/qgis-2.0.1-6.fc20,qwtpolar-1.1.0-0.2.rc1.fc20,qwt-6.1.0-1.fc20 then log in and leave karma (feedback).
qgis-2.0.1-6.fc20, qwtpolar-1.1.0-0.2.rc1.fc20, qwt-6.1.0-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.