Comments (17)
Seems that the Linux OSVs should have reported and addressed this when they upgraded. Please see if this works for you.
from gpsbabel.
linux-gui from master builds fine for me without any changes under
Centos7 with Qt 5.6.1 from the centos repo.
On 7/20/2016 12:17 PM, Robert Lipe wrote:
Seems that the Linux OSVs should have reported and addressed this when
they upgraded. Please see if this works for you.fixqt56.txt
https://github.com/gpsbabel/gpsbabel/files/374383/fixqt56.txt—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM92Me0dxUYeyPXpaRTQxuF2yDOgHPhEks5qXmYlgaJpZM4JQyjg.
from gpsbabel.
I think it's actually 5.7 that's the breaking point. 5.4 added
QWebEngineView (blink) and 5.7 removed the WebKit renderer. I'm not totally
clear where the exact breaking point is.
http://doc.qt.io/qt-5/qtwebenginewidgets-qtwebkitportingguide.html
Maybe we raise our floor to 5.4 (?) and avoid the #ifdef this clutter. We
use such a small part of WebKit that it looks like it's just nuisance
renaming for us.
RJL
On Wed, Jul 20, 2016 at 5:37 PM, tsteven4 [email protected] wrote:
linux-gui from master builds fine for me without any changes under
Centos7 with Qt 5.6.1 from the centos repo.On 7/20/2016 12:17 PM, Robert Lipe wrote:
Seems that the Linux OSVs should have reported and addressed this when
they upgraded. Please see if this works for you.fixqt56.txt
https://github.com/gpsbabel/gpsbabel/files/374383/fixqt56.txt—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#48 (comment),or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AM92Me0dxUYeyPXpaRTQxuF2yDOgHPhEks5qXmYlgaJpZM4JQyjg
.—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIUh7xHgtoajfVW4yONvCi8esw8RR_nmks5qXqMQgaJpZM4JQyjg
.
from gpsbabel.
travis is currently using 5.2.1
On 7/20/2016 4:44 PM, Robert Lipe wrote:
I think it's actually 5.7 that's the breaking point. 5.4 added
QWebEngineView (blink) and 5.7 removed the WebKit renderer. I'm not
totally
clear where the exact breaking point is.http://doc.qt.io/qt-5/qtwebenginewidgets-qtwebkitportingguide.html
Maybe we raise our floor to 5.4 (?) and avoid the #ifdef this clutter. We
use such a small part of WebKit that it looks like it's just nuisance
renaming for us.RJL
On Wed, Jul 20, 2016 at 5:37 PM, tsteven4 [email protected]
wrote:linux-gui from master builds fine for me without any changes under
Centos7 with Qt 5.6.1 from the centos repo.On 7/20/2016 12:17 PM, Robert Lipe wrote:
Seems that the Linux OSVs should have reported and addressed this when
they upgraded. Please see if this works for you.fixqt56.txt
https://github.com/gpsbabel/gpsbabel/files/374383/fixqt56.txt—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubor mute the thread
<.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM92MWU7aVBKzjXpOweZjJP8b1TsEbpsks5qXqS8gaJpZM4JQyjg.
from gpsbabel.
https://wiki.qt.io/New_Features_in_Qt_5.6 :
Removed Modules
With Qt 5.6 the following modules are no longer part of the release
packages, but users can still build them from source:
- Qt WebKit
- Qt Declarative (Qt Quick 1)
On 7/20/2016 4:44 PM, Robert Lipe wrote:
I think it's actually 5.7 that's the breaking point. 5.4 added
QWebEngineView (blink) and 5.7 removed the WebKit renderer. I'm not
totally
clear where the exact breaking point is.http://doc.qt.io/qt-5/qtwebenginewidgets-qtwebkitportingguide.html
Maybe we raise our floor to 5.4 (?) and avoid the #ifdef this clutter. We
use such a small part of WebKit that it looks like it's just nuisance
renaming for us.RJL
On Wed, Jul 20, 2016 at 5:37 PM, tsteven4 [email protected]
wrote:linux-gui from master builds fine for me without any changes under
Centos7 with Qt 5.6.1 from the centos repo.On 7/20/2016 12:17 PM, Robert Lipe wrote:
Seems that the Linux OSVs should have reported and addressed this when
they upgraded. Please see if this works for you.fixqt56.txt
https://github.com/gpsbabel/gpsbabel/files/374383/fixqt56.txt—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubor mute the thread
<.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM92MWU7aVBKzjXpOweZjJP8b1TsEbpsks5qXqS8gaJpZM4JQyjg.
from gpsbabel.
The patch applies cleanly, but using qt-5.7:
$ make linux-gui
cd gui ; qmake app.pro && make
Info: creating stash file /usr/src/gpsbabel/gui/.qmake.stash
Project ERROR: Unknown module(s) in QT: webenginenewwidgets
Makefile:390: recipe for target 'gui' failed
make: *** [gui] Error 3
$ ls /usr/local/lib/libQt5WebEngineWidgets*
/usr/local/lib/libQt5WebEngineWidgets.la /usr/local/lib/libQt5WebEngineWidgets.so.5
/usr/local/lib/libQt5WebEngineWidgets.prl /usr/local/lib/libQt5WebEngineWidgets.so.5.7
/usr/local/lib/libQt5WebEngineWidgets.so /usr/local/lib/libQt5WebEngineWidgets.so.5.7.0
changing:
- QT += webenginenewwidgets -> + QT += webenginewidgets
..improves things, but:
$ make linux-gui
...
g++ -c -pipe -std=gnu++11 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_WEBENGINEWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -I../../../local/include/qt5 -I../../../local/include/qt5/QtWebEngineWidgets -I../../../local/include/qt5/QtWidgets -I../../../local/include/qt5/QtWebEngineCore -I../../../local/include/qt5/QtQuick -I../../../local/include/qt5/QtGui -I../../../local/include/qt5/QtWebChannel -I../../../local/include/qt5/QtQml -I../../../local/include/qt5/QtNetwork -I../../../local/include/qt5/QtXml -I../../../local/include/qt5/QtPositioning -I../../../local/include/qt5/QtCore -Iobjects -Itmp -I../../../local/mkspecs/linux-g++ -o objects/gmapdlg.o gmapdlg.cc
In file included from gmapdlg.h:31:0,
from gmapdlg.cc:27:
map.h:60:1: error: expected class-name before '{' token
{
^
gmapdlg.cc: In constructor 'GMapDialog::GMapDialog(QWidget_, const QString&, QPlainTextEdit_)':
gmapdlg.cc:145:28: error: no matching function for call to 'QHBoxLayout::addWidget(Map*&)'
lay->addWidget(mapWidget_);
..with several more errors after that.
from gpsbabel.
BTW, why does gpsbabel, a cli app, need a dep on libQt5Core?
from gpsbabel.
We use a bunch of classes from QtCore, e.g. QString, QXmlStreamReader,
QXmlStreamWriter, ... even though we haven't really wanted to be a
QCoreApplication.
It looks like qtwebengine hasn't made it to RHEL7/Centos 7/... which is
using Qt 5.6.1 with Qtwebkit. There is work in Fedora but it hasn't
trickled down yet.
So a decision on using qtwebkit vs. qtwebengine can't necessarily be
based on the qt version.
On 7/21/2016 1:01 AM, juanitotc wrote:
BTW, why does gpsbabel, a cli app, need a dep on libQt5Core?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM92Maa7wxhxw9O4jS3ICMUQs2IxbqtJks5qXxlBgaJpZM4JQyjg.
from gpsbabel.
Wait, let me see if I have this right:
WebEngine was added - and always intended to replace WebKit - in Qt 5.4.
WebKit was removed (though still optionally compilable) in 5.6 because it
no longer met the portability and security requirements for Qt.
RHEL is shipping a 5.6 version of Qt without WebEngine, but WITH WebKit,
making their Qt pretty much incompatible with everyone else's.
RedHat's other OS, does ship with webengine, but only as an option.
https://fedoraproject.org/wiki/Changes/QtWebEngine
Do they provide any flag in qglobal.h that announces this so that an app
can test whether they're using such a bizarre combination? I'd rather not
rely on configure tests for this. In fact, I'm about out of love with
configure itself.
I'm admittedly caught a bit off heel that such a major feature was removed
in 5.6 and am annoyed that we may have to support two paths for a long
time. Our use of the embedded web view is quite pedestrian so it's not like
it's even a major annoyance.
Do any of our Linux experts have advice on how other portable apps are
dealing with this? In the absence of a sane way to detect which path is
really available, I may just disable this feature (it's really not used
that much anywhere...) on Linux and let the distro people work it out when
they make their builds. Then we can rely on a version-based test to handle
the case for Mac and Windows builders using the current official Qt
configuration to allow spanning the 5.6 boundary where QtWebKit is gone.
On Thu, Jul 21, 2016 at 7:33 AM, tsteven4 [email protected] wrote:
We use a bunch of classes from QtCore, e.g. QString, QXmlStreamReader,
QXmlStreamWriter, ... even though we haven't really wanted to be a
QCoreApplication.It looks like qtwebengine hasn't made it to RHEL7/Centos 7/... which is
using Qt 5.6.1 with Qtwebkit. There is work in Fedora but it hasn't
trickled down yet.So a decision on using qtwebkit vs. qtwebengine can't necessarily be
based on the qt version.On 7/21/2016 1:01 AM, juanitotc wrote:
BTW, why does gpsbabel, a cli app, need a dep on libQt5Core?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#48 (comment),or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AM92Maa7wxhxw9O4jS3ICMUQs2IxbqtJks5qXxlBgaJpZM4JQyjg
.—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIUh73DB36GFxLrjSJJSVjjpzzPMeLCAks5qX2cQgaJpZM4JQyjg
.
from gpsbabel.
Why not rely on the version based test for linux as well - just because rhel/fedora do things one way doesn't mean it should become difficult for everybody.
from gpsbabel.
Right. Not special casing RHEL is exactly the problem. 5.6 for everything
except RH (maybe other distros, I don't know...) uses WebEngine, not
WebKit.
If Version < 5.4 use WebKit
(in the middle here, you can choose either on a sane build of Qt)
If Version >= 5.6 must use WebEngine. Unless you're RHEL. Or maybe others.
I do have a better patch in progress to support WebEngine. I have
everything working except the WebChannel call to a C++ method. Since
that's a debug method that I've never used, I'm considering just whacking
that call and moving on. The signals and slots are working and that's the
important part.
RJL
On Mon, Jul 25, 2016 at 2:39 AM, juanitotc [email protected] wrote:
Why not rely on the version based test for linux as well - just because
rhel/fedora do things one way doesn't mean it should become difficult for
everybody.—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIUh7yuYrDJ2SRnESH0MVpAzxYql-071ks5qZGg4gaJpZM4JQyjg
.
from gpsbabel.
I went through the gyrations to get an even vaguely modern compilation
environment on on Centos 7. Frankly, I'm horrified to end up with a C++
from 2010.
RHEL/Centos jumped through so many hoops to keep the software tied to the
previous decade that, well, they'll simply be happier with software from
the last decade. Simply getting to Qt > 4.8 is an ordeal. I think that
GPSBabel's best stance will be to let RHEL/Centos to ship and support
whatever version is time appropriate for them and for us to forge on in
modern times. The silence of Linux representatives on this topic mean it's
time to just leave them to ship whatever they're going to ship since
they're clearly not interested in supporting modern work. Debian/Redhat
devs can port GPSBabel fixes/enhancements back for the next six years; I
just can't.
I'm soon going to move our floor to C++11 (it's been five years since an
international standard organization has signed off...and they don't move
exactly fast) and supporting modern Qt.
Soon, GPSBabel will allow C++11 and depend on tools of that vintage. If
your environment traps you in a pre-2010 world, please use GPSBabel from
2010 and don't send resulting problems our way.
This sill impact our Windows and Mac users (over 98% of our users) exactly
zero.
Signed,
Sometimes it sucks to be the bad guy.
RJL
On Mon, Jul 25, 2016 at 11:36 AM, Robert Lipe [email protected]
wrote:
Right. Not special casing RHEL is exactly the problem. 5.6 for everything
except RH (maybe other distros, I don't know...) uses WebEngine, not
WebKit.If Version < 5.4 use WebKit
(in the middle here, you can choose either on a sane build of Qt)
If Version >= 5.6 must use WebEngine. Unless you're RHEL. Or maybe others.I do have a better patch in progress to support WebEngine. I have
everything working except the WebChannel call to a C++ method. Since
that's a debug method that I've never used, I'm considering just whacking
that call and moving on. The signals and slots are working and that's the
important part.RJL
On Mon, Jul 25, 2016 at 2:39 AM, juanitotc [email protected]
wrote:Why not rely on the version based test for linux as well - just because
rhel/fedora do things one way doesn't mean it should become difficult for
everybody.—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AIUh7yuYrDJ2SRnESH0MVpAzxYql-071ks5qZGg4gaJpZM4JQyjg.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALdQD2ftAzSu8_yEZx3HM8Kuwj8WoaQbks5qZOX3gaJpZM4JQyjg
.
from gpsbabel.
25e9f48 broke the gui on CentOS 7 due to the lack of webenginewidgets with 5.6.1 for that platform. As a suggestion can we change app.pro to use qtHaveModule instead of testing QT_MINOR_VERSION? This does work on CentOS 7, but I haven't tested it elsewhere.
diff --git a/gui/app.pro b/gui/app.pro
index c512507..7cea1f3 100755
--- a/gui/app.pro
+++ b/gui/app.pro
@@ -16,7 +16,8 @@ QT += core
network
xml \
-greaterThan(QT_MINOR_VERSION, 5) {
+#greaterThan(QT_MINOR_VERSION, 5) {
+qtHaveModule(webenginewidgets) {
QT += webenginewidgets
DEFINES += HAVE_WEBENGINE
} else {
from gpsbabel.
from gpsbabel.
from gpsbabel.
from gpsbabel.
I was able to successfully test this on ubuntu bionic with the ubuntu supplied webenginewidgits (package qtwebengine5-dev). It also builds with webkit under bionic if package qtwebengine5-dev isn't installed and package libqt5webkit5-dev is installed. (see e.g. https://travis-ci.org/tsteven4/gpsbabel/jobs/450541573).
from gpsbabel.
Related Issues (20)
- filter_track.html corrections HOT 2
- ‘kVersionDate’ was not declared in this scope HOT 2
- igc compile warning HOT 2
- garmin int->float->int fidelity HOT 1
- trackfilter pack handling of segments HOT 5
- :error:fetch Failed to fetch curl-ca-bundle: The requested URL returned error: 404 Not Found HOT 6
- truncation can compromise the meaning of help strings HOT 2
- garmin_fit does not support course_point types well HOT 4
- www.gpsbabel.org doesn't contain a link to github page HOT 3
- garminextensions option (-o gpx,...) removes <speed> from output file HOT 2
- 1.9.0 GUI pop up "Invalid return data at line 1 ..." HOT 3
- gpx writer may violate schema HOT 1
- gpx writer can violate schema when extensions exist, gpx read and write versions differ, and passthrough is used. HOT 1
- gpx.h GEOTAG searches for elements that imply a gpx schema violation HOT 9
- C++20? HOT 12
- jeeps bug? HOT 2
- GPS serial memory leak? HOT 2
- Broken link to Entire Manual as PDF HOT 4
- garmin gpi corruption of bitmap color data for bitmaps with 24 bits per pixel. HOT 1
- erroneous garmin gpi warning when writing with a 24 or 32 bits per pixel bitmap HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpsbabel.