- How much of Cascades is shared among processes at run-time? Because this isn't about migrating BB10 to QT5.x, and the 6 years of work you noted, would it make sense to use the QT 5 work to incrementally extend Cascades as needed? Of course, if the answer to the first question is not much (which is what I seem to remember), this idea would not save any resources in devices which, by today's standards, are resource constrained.
If the above happens to be academic I am still curious if QT 5 extended QT 4 or is essentially a new library.
Qt updates Major versions when there major systematic changes to the code. They do major API breakage at that time as well. I believe BB10 already has the latest stuff you can get with Qt4. The only active fork of Qt4 is Copperhead API. But I believe that would require a full port as all the BlackBerry code was removed.
Posted via CB1005-18-20 10:34 PMLike 0 - If I recall Cascades is a fork of Qt4. So no, extending Qt4 with Qt5 modules would be a stupid amount of work, more so than just fixing the issues with Qt5 and patching Qt5.12 or backporting the latest QtWebkit to Qt5.2 (or which version version he's working on).
Posted via CB1005-19-20 05:55 AMLike 0 - Am I correct that the libraries are not shared in memory between processes in BB10? If so, would the RAM saved be worth the work? The idea is to "just" do QtWebkit and not worry about the rest. Assuming, the network stuff would work from Qt 4. At some future time something else will be chosen to back port, by someone else, etc. Overall the work would be more, but each project could be less. Sorry, don't know enough about Qt or how Cascades is at runtime.Dunt Dunt Dunt likes this.05-19-20 10:29 AMLike 1
- The Qt5 so's have to be embedded inside of each binary as they're not system level includes, not that big of a deal in terms of resource allocation to be honest. QtWebKit is still all kinda of broken in Qt5 (I see why they moved it off into its own submodule), but it's fixable. All of this work is reminding me how much I hated working with eclipse.Dunt Dunt Dunt likes this.05-19-20 10:40 AMLike 1
- The Qt5 so's have to be embedded inside of each binary as they're not system level includes, not that big of a deal in terms of resource allocation to be honest. QtWebKit is still all kinda of broken in Qt5 (I see why they moved it off into its own submodule), but it's fixable. All of this work is reminding me how much I hated working with eclipse.
However, if there really is an advantage to having Qt5 (or a lot of it) on BB10, it could make the above considerations and the following thought much less material:
Can the app integration of BB10 facilitate an alternative route for creating a foundational library?
Sorry, I am not more familiar with Qt or Cascades. I hope I am asking these questions early enough should a different approach make sense.
Regarding Eclipse, have you tried using the Visual Studio 2013 plugin? It should work with the Community version of VS.05-19-20 01:01 PMLike 0 - Hi, I've been playing around with getting Qt 5.6(last version with BB mkspecs included) up and running for the past couple of days and just saw this thread. I've managed to get just about everything running except QtWebKit. By default the config has WebKit2 / QtWebKitQml disabled on QNX devices. It compiled just fine with WebKit2 support enabled though. However, upon making a basic Qt Quick application containing QWebView nothing is displayed. All of the libraries are loaded, the QWebProcess is launched, everything seems fine so I'm not sure what's wrong. Qt Widget applications with QWebView on the other hand work fine, to my understanding it's because they use WebKit1.
I haven't had time to look at any details about the android runtime, but would it be theoretically possible to build an updated android runtime and wrap it around an application? So the bar file would contain the android app you want to run and the entire however-many-GB standalone android runtime?05-20-20 12:17 PMLike 0 - Hi, I've been playing around with getting Qt 5.6(last version with BB mkspecs included) up and running for the past couple of days and just saw this thread. I've managed to get just about everything running except QtWebKit. By default the config has WebKit2 / QtWebKitQml disabled on QNX devices. It compiled just fine with WebKit2 support enabled though. However, upon making a basic Qt Quick application containing QWebView nothing is displayed. All of the libraries are loaded, the QWebProcess is launched, everything seems fine so I'm not sure what's wrong. Qt Widget applications with QWebView on the other hand work fine, to my understanding it's because they use WebKit1.
I haven't had time to look at any details about the android runtime, but would it be theoretically possible to build an updated android runtime and wrap it around an application? So the bar file would contain the android app you want to run and the entire however-many-GB standalone android runtime?
B Had the exact same idea, it would be a fairly sizeable effort to cross compile the Anbox runtime (as they've packaged things up to be modular and relatively cross platform) but its probably the best way to get it done.05-20-20 03:32 PMLike 0 - Without looking at the code, if memory serves me, you should be able to have webkit spit out a verbose debug log. That should tell you what exception is throwing internally that is preventing pages to render.
Posted via CB1005-20-20 10:04 PMLike 0 - I built a version of QtWebKit with debugging enabled the other day and ran it with the logging env vars set. It didn't output very much. In fact the only thing I remember it outputing was something about TextCheckerState not being implemented. What level of verbosity is expected? I likely configured the build incorrectly.
Posted via CB1005-20-20 11:29 PMLike 0 - For reference, these are the last know community builds of Qt5 for BB, they do not contain QtWebKit but it's nice to have them.
https://w-bremer.de/en/downloads/category/4-blackberryLast edited by patrickjmquinn; 05-21-20 at 06:10 AM.
05-21-20 04:53 AMLike 0 - I built a version of QtWebKit with debugging enabled the other day and ran it with the logging env vars set. It didn't output very much. In fact the only thing I remember it outputing was something about TextCheckerState not being implemented. What level of verbosity is expected? I likely configured the build incorrectly.
Posted via CB1005-21-20 04:54 AMLike 0 - I built it withCode:
perl Tools/Scripts/build-webkit --qt --install-libs="$(qmake -query QT_INSTALL_PREFIX)" --makeargs="-j4" --debug
Code:UNIMPLEMENTED: /home/owner/qtwebkit/Source/WebKit2/UIProcess/qt/TextCheckerQt.cpp(40) : static const WebKit::TextCheckerState& WebKit::TextChecker::state()
05-21-20 01:55 PMLike 0 - I built it withCode:
perl Tools/Scripts/build-webkit --qt --install-libs="$(qmake -query QT_INSTALL_PREFIX)" --makeargs="-j4" --debug
Code:UNIMPLEMENTED: /home/owner/qtwebkit/Source/WebKit2/UIProcess/qt/TextCheckerQt.cpp(40) : static const WebKit::TextCheckerState& WebKit::TextChecker::state()
Posted via CB1005-21-20 08:43 PMLike 0 - This is the output from running with QT_LOGGING_RULES="*.debug=true" and QML_IMPORT_TRACE=1: https://pastebin.com/TVfMFQqX
What's interesting is the instance of "Invalid URL:". It seems to have originated from qnetworkproxy_blackberry.cpp in "QNetworkProxyFactory::systemProxyForQuery" and is only present in the logs of WebKit2 QML applications. I'll look into this a little further when I have more time.
Had an idea for a native Spotify client. There's an opensource library that's an alternative to the now deprecated libspotify called librespot. It's written in Rust but there are Go and Java ports so perhaps someone has ported or is working on a C/C++ port? If there is a C/C++ port it might not be too difficult to get it up and running on BB and begin building a Cascades client with it. Though usage of librespot might be in violation of Spotify's TOS05-23-20 11:22 AMLike 0 - Looking at basic documentation for Qt Invalid URL seems to be the default url. How are you feeding it pages to render? Perhaps you should dump the program output into this long so we know each stage the qt is at.
url : QUrl
This property holds the url of the web page currently viewed.
Setting this property clears the view and loads the URL.
By default, this property contains an empty, invalid URL.
Posted via CB1005-23-20 04:35 PMLike 0 - Looking at basic documentation for Qt Invalid URL seems to be the default url. How are you feeding it pages to render?
Perhaps you should dump the program output into this long so we know each stage the qt is at.05-24-20 04:44 AMLike 0 - Not a big expert of WebKit, but I've seen that QtWebkit 2 was available also in Qt4.8. Maybe that version has more chances to work since it's the same Qt targeted by OS10
EDIT: I'm assuming QtWebkit in pure Qt4.8 has a more recent version of Webkit with respect to the Native WebView. If that's not the case disregard my commentLast edited by Simo_Dax; 05-24-20 at 12:34 PM.
05-24-20 07:05 AMLike 0 - This is the output from running with QT_LOGGING_RULES="*.debug=true" and QML_IMPORT_TRACE=1: https://pastebin.com/TVfMFQqX
What's interesting is the instance of "Invalid URL:". It seems to have originated from qnetworkproxy_blackberry.cpp in "QNetworkProxyFactory::systemProxyForQuery" and is only present in the logs of WebKit2 QML applications. I'll look into this a little further when I have more time.
Had an idea for a native Spotify client. There's an opensource library that's an alternative to the now deprecated libspotify called librespot. It's written in Rust but there are Go and Java ports so perhaps someone has ported or is working on a C/C++ port? If there is a C/C++ port it might not be too difficult to get it up and running on BB and begin building a Cascades client with it. Though usage of librespot might be in violation of Spotify's TOS
As for the QML call passing the url, have you tried directly calling the QWebView from C++ (the appui .cpp file should be fine for a test) and passing the URI from there?
Something like:
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
m_pWebView = new QWebView(this);
//set position and size
m_pWebView->setGeometry(0,0,200,200);
m_pWebView->load(QUrl("http://www.example.com"));
}
MainWindow::~MainWindow()
{
}05-24-20 11:06 AMLike 0 - 05-24-20 11:34 AMLike 0
- One of the questions raised in first posts was regarding hardware. To me that's the bottleneck, perhaps on PP's SD 801 sites works better in general, but for S4/S4+ the performance is horrible.
In my opinion even if you manage to switch to a newer WebKit the performance will be worse. Based on my experience, the more features software has the slower it works. And the modern IT industry produces more and more heavy and hungry monsters called Web Apps. I was also involved in that process developing Angular SPAs so I know what I'm talking about.
A newer WebKit could give you better W3C standards support but I don't believe they improved the performance drastically. In general, I would say that the stock BB10 browser is okay in terms of standards. From time to time I experience issues on some missing CSS features, or lack of ES6 support, or certificates but that's nothing comparing to the slow performance.
Don't want to demotivate you but imho you don't need to spend your efforts on a newer WebKit.
Posted via CB1005-26-20 03:16 AMLike 0 - One of the questions raised in first posts was regarding hardware. To me that's the bottleneck, perhaps on PP's SD 801 sites works better in general, but for S4/S4+ the performance is horrible.
In my opinion even if you manage to switch to a newer WebKit the performance will be worse. Based on my experience, the more features software has the slower it works. And the modern IT industry produces more and more heavy and hungry monsters called Web Apps. I was also involved in that process developing Angular SPAs so I know what I'm talking about.
A newer WebKit could give you better W3C standards support but I don't believe they improved the performance drastically. In general, I would say that the stock BB10 browser is okay in terms of standards. From time to time I experience issues on some missing CSS features, or lack of ES6 support, or certificates but that's nothing comparing to the slow performance.
Don't want to demotivate you but imho you don't need to spend your efforts on a newer WebKit.
Posted via CB10
Posted via CB10anon(5597702) likes this.05-26-20 05:44 AMLike 1 - One of the questions raised in first posts was regarding hardware. To me that's the bottleneck, perhaps on PP's SD 801 sites works better in general, but for S4/S4+ the performance is horrible.
In my opinion even if you manage to switch to a newer WebKit the performance will be worse. Based on my experience, the more features software has the slower it works. And the modern IT industry produces more and more heavy and hungry monsters called Web Apps. I was also involved in that process developing Angular SPAs so I know what I'm talking about.
A newer WebKit could give you better W3C standards support but I don't believe they improved the performance drastically. In general, I would say that the stock BB10 browser is okay in terms of standards. From time to time I experience issues on some missing CSS features, or lack of ES6 support, or certificates but that's nothing comparing to the slow performance.
Don't want to demotivate you but imho you don't need to spend your efforts on a newer WebKit.
Posted via CB1005-26-20 06:51 AMLike 0 - PaperBird is a great native app. The developer does not plan to further develop it. It has a great feature like adding a shortcut to the home screen. Unlike other native browsers, these shortcuts open in the same application. I would like someone to continue working on this application. Application repository https://github.com/anpho/PaperBird05-26-20 07:37 AMLike 0
- One of the questions raised in first posts was regarding hardware. To me that's the bottleneck, perhaps on PP's SD 801 sites works better in general, but for S4/S4+ the performance is horrible.
In my opinion even if you manage to switch to a newer WebKit the performance will be worse. Based on my experience, the more features software has the slower it works. And the modern IT industry produces more and more heavy and hungry monsters called Web Apps. I was also involved in that process developing Angular SPAs so I know what I'm talking about.
A newer WebKit could give you better W3C standards support but I don't believe they improved the performance drastically. In general, I would say that the stock BB10 browser is okay in terms of standards. From time to time I experience issues on some missing CSS features, or lack of ES6 support, or certificates but that's nothing comparing to the slow performance.
Don't want to demotivate you but imho you don't need to spend your efforts on a newer WebKit.
Posted via CB10
Posted via CB1005-26-20 08:05 AMLike 0 - PaperBird is a great native app. The developer does not plan to further develop it. It has a great feature like adding a shortcut to the home screen. Unlike other native browsers, these shortcuts open in the same application. I would like someone to continue working on this application. Application repository https://github.com/anpho/PaperBird05-27-20 07:15 AMLike 0
- Forum
- BlackBerry 10 Phones & OS
- BlackBerry 10 OS
Breathing new life into BB10...
Similar Threads
-
Any chance there's a new BlackBerry coming up?
By maryahshdid in forum BlackBerry MotionReplies: 6Last Post: 10-16-20, 07:32 PM -
My mother seems concerned I won't be able to get a new phone...
By Munchkinguy in forum General BlackBerry News, Discussion & RumorsReplies: 29Last Post: 09-20-20, 11:21 AM -
Need old builds of BB10.
By imradlol in forum BlackBerry 10 OSReplies: 12Last Post: 05-07-20, 10:59 AM -
BlackBerry adds new channel partners for BlackBerry Radar
By CrackBerry News in forum CrackBerry.com News Discussion & ContestsReplies: 0Last Post: 05-05-20, 11:51 AM -
Is a brand new BlackBerry Curve 9220 worth any money these days?
By CrackBerry Question in forum Ask a QuestionReplies: 2Last Post: 05-05-20, 08:27 AM
LINK TO POST COPIED TO CLIPBOARD