SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
you don't have to launch the qt-nowebkit.SlackBuild, you have just to edit it.
you have to launch qt.SlackBuild.
Same thing as with the other Slackbuild:
Code:
...
qt-everywhere-opensource-src-5.7.1/qtscxml/examples/scxml/invoke-dynamic/doc/src/
qt-everywhere-opensource-src-5.7.1/qtscxml/examples/scxml/invoke-dynamic/doc/src/invoke-dynamic.qdoc
qt-everywhere-opensource-src-5.7.1/qtscxml/examples/scxml/invoke-dynamic/invoke-dynamic.qml
qt-everywhere-opensource-src-5.7.1/qtscxml/examples/scxml/invoke-dynamic/invoke-dynamic.qrc
qt-everywhere-opensource-src-5.7.1/qtscxml/examples/examples.pro
qt-everywhere-opensource-src-5.7.1/qtscxml/mkspecs/
qt-everywhere-opensource-src-5.7.1/qtscxml/mkspecs/features/
qt-everywhere-opensource-src-5.7.1/qtscxml/mkspecs/features/qscxmlc.prf
qt-everywhere-opensource-src-5.7.1/qtscxml/LICENSE.GPL3-EXCEPT
Hmm... Looks like a unified diff to me...
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur qt-x11-opensource-src-4.3.4.orig/src/sql/drivers/mysql/qsql_mysql.h qt-x11-opensource-src-4.3.4/src/sql/drivers/mysql/qsql_mysql.h
|--- qt-x11-opensource-src-4.3.4.orig/src/sql/drivers/mysql/qsql_mysql.h 2008-04-02 20:52:11.739343004 -0500
|+++ qt-x11-opensource-src-4.3.4/src/sql/drivers/mysql/qsql_mysql.h 2008-04-02 20:52:05.970610574 -0500
--------------------------
File to patch:
why are you using the SlackBuild in Slackware that is for qt-4.x with qt-5.x?
if you want to develop with qt-5.x you should build qt5 from SBo (maybe passin it the option DOCS=yes, see its README) and qt-creator (see its README) still from there, not qt-creator2, that is for qt-4.x.
why are you using the SlackBuild in Slackware that is for qt-4.x with qt-5.x?
if you want to develop with qt-5.x you should build qt5 from SBo (maybe passin it the option DOCS=yes, see its README) and qt-creator (see its README) still from there, not qt-creator2, that is for qt-4.x.
qt-creator would not install when I asked for it. That's why I installed qt-creator2. qt-creator failed some kind of check.
Code:
Found qt-creator-4.3.1.tar.gz in /var/cache/sbopkg.
Checking MD5SUM:
MD5SUM check for qt-creator-4.3.1.tar.gz ... FAILED!
Expected: 439246a58a08d7c1e65fa358ae2fb0ef
Found: b83ef387e037390583587c9b10daed86
Do you want to use the downloaded qt-creator source:
qt-creator-4.3.1.tar.gz in /var/cache/sbopkg?
You can choose among the following options:
- (Y)es, keep the source and continue the build process;
- (N)o, delete the source and abort the build process;
- (R)etry download and continue the build process; or
- (A)ttempt to download from third party source repository.
(Y)es, (N)o, (R)etry, (A)lternative ?:
Also you need to modify the package to add the docs and examples, eventually you can ask nice AlienBOB to do that, if it is too complicated for you.
Anyway, you should check the additional dependencies of the Qt5, you can't just dump a software at any version you want, in your system. AGAIN, about this issue you can ask nice AlienBOB.
BTW, talking about the software extensions of Slackware, in the left are a bunch of guys usually know as slackbuilds.org and in the right side is a single guy, Eric Hameleers, aka AlienBOB, who do the same amount of work as all of those from the left side, and even more, as he distribute also binary packages for really heavy things like OpenJDK or Plasma 5.
Last edited by Darth Vader; 01-26-2018 at 06:09 PM.
qt-creator would not install when I asked for it. That's why I installed qt-creator2. qt-creator failed some kind of check.
Code:
Found qt-creator-4.3.1.tar.gz in /var/cache/sbopkg.
Checking MD5SUM:
MD5SUM check for qt-creator-4.3.1.tar.gz ... FAILED!
Expected: 439246a58a08d7c1e65fa358ae2fb0ef
Found: b83ef387e037390583587c9b10daed86
Do you want to use the downloaded qt-creator source:
qt-creator-4.3.1.tar.gz in /var/cache/sbopkg?
You can choose among the following options:
- (Y)es, keep the source and continue the build process;
- (N)o, delete the source and abort the build process;
- (R)etry download and continue the build process; or
- (A)ttempt to download from third party source repository.
(Y)es, (N)o, (R)etry, (A)lternative ?:
this is another case of the mess github people had done lately with their handling of the tarballs: only in this specific case, just answer "(Y)es" and go on.
Sorry for the late reply and my somewhat different route from what is already suggested in the thread. The easiest way to use qt and qtcreator is to download the official precompiled SDK from www.qt.io. It comes with an online installer that you can use to download various precompiled and complete qt and qtcreator versions. It is installed in it's own directory and you don't have to mess with replacing and recompiling slackware's qt.
They make the opensource installer somewhat hard to find with scary warnings about LGPL, because they try to sell the commercial license. This is annoying, but you can find it there. The current link to get to the page to download the installer is this https://www.qt.io/download-qt-installer.
this is another case of the mess github people had done lately with their handling of the tarballs: only in this specific case, just answer "(Y)es" and go on.
JIC, note that you have to uninstall qt-creator2 before installing qt-creator (as noted in their READMEs).
And FYI, if you build it and it still has issues with finding the documentation, it is located under /usr/doc/qt-creator-4.3.1/. You can point qt-creator to the qt-creator.qch file I mentioned earlier. It is located in the root of that folder.
I see that now. I've been a bit frazzled ever since I started this qt stuff. I assumed that since qt-creator2 installed successfully, qt-creator would depend on the same stuff and install successfully. When I go to www.slackbuilds.org in my web browser, I see that they are two different versions of the same package. Therefore, I would have reversed the names to reflect this. Qt-creator2 would be version 4.3.1 with qt-creator being the older version (2.8.0). When I asked for them from sbopkg, I was not given this information. It would have been helpful. Instead, qt-creator claimed to be an imposter and qt-creator2 didn't. Which is how I arrived at my current situation.
sbopkg is an helper tool (like many others) but don't forget that it's assumed that you read the README files of everything you install from slackbuilds.org, if you don't do it we can't do much about it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.