LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-26-2018, 03:18 PM   #16
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by ponce View Post
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:
This one I didn't edit.
 
Old 01-26-2018, 04:39 PM   #17
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
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.

Last edited by ponce; 01-26-2018 at 05:00 PM.
 
Old 01-26-2018, 05:45 PM   #18
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
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 ?:
 
Old 01-26-2018, 05:50 PM   #19
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Look, you can't royally mess with Qt4 vs. Qt5, they are fundamentally different things, just like is KDE4 vs. Plasma 5

First of all, you should decide on which variant you would stick, then to take decisions accordingly.

BTW, for now Slackware (still) go Qt4 and KDE4 ...

Last edited by Darth Vader; 01-26-2018 at 05:51 PM.
 
Old 01-26-2018, 05:51 PM   #20
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
Look, you can't royally mess with Qt4 vs. Qt5, they are fundamentally different things, just like is KDE4 vs. Plasma 5

First of all, you should decide on which variant you would stick, then to take decisions accordingly.

BTW, for now Slackware still go Qt4 and KDE4
I want Qt 5.
 
Old 01-26-2018, 05:56 PM   #21
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Then you should install Qt5, and there you go: https://slackware.nl/people/alien/slackbuilds/qt5/

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.
 
Old 01-27-2018, 02:59 AM   #22
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by maschelsea View Post
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.
 
Old 01-27-2018, 08:41 AM   #23
ninikos
Member
 
Registered: Dec 2012
Posts: 57

Rep: Reputation: 31
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.
 
Old 01-27-2018, 10:09 AM   #24
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by ponce View Post
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).
 
Old 01-27-2018, 10:47 PM   #25
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
I've been waiting all day for sbopkg -i qtcreator to install. I came in here to check to see if it had completed and found this:

Code:
make[3]: Entering directory '/tmp/SBo/qt-creator-4.3.1/src/plugins/qbsprojectmanager'
/usr/lib64/qt5/bin/uic customqbspropertiesdialog.ui -o .uic/ui_customqbspropertiesdialog.h
/usr/lib64/qt5/bin/uic qbsbuildstepconfigwidget.ui -o .uic/ui_qbsbuildstepconfigwidget.h
/usr/lib64/qt5/bin/uic qbscleanstepconfigwidget.ui -o .uic/ui_qbscleanstepconfigwidget.h
/usr/lib64/qt5/bin/uic qbsinfowidget.ui -o .uic/ui_qbsinfowidget.h
/usr/lib64/qt5/bin/uic qbsprofilessettingswidget.ui -o .uic/ui_qbsprofilessettingswidget.h
g++ -c -O2 -fPIC -O2 -fPIC -std=gnu++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQBS_ENABLE_PROJECT_FILE_UPDATES -D'RELATIVE_PLUGIN_PATH="../lib64/qtcreator/plugins"' -D'RELATIVE_LIBEXEC_PATH="../libexec/qtcreator"' -D'RELATIVE_DATA_PATH="../share/qtcreator"' -D'RELATIVE_DOC_PATH="../doc/qt-creator-4.3.1"' -DIDE_LIBRARY_BASENAME=\"lib64\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DQBS_INSTALL_DIR=\"/usr\" -DQBSPROJECTMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../../src -I../../../src -I../../libs -I/tmp/SBo/qt-creator-4.3.1/tools -I../../plugins -I../../shared -I../../libs/3rdparty -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc/release-shared -I.uic -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/release-shared/customqbspropertiesdialog.o customqbspropertiesdialog.cpp
customqbspropertiesdialog.cpp:29:17: fatal error: qbs.h: No such file or directory
compilation terminated.
Makefile:1155: recipe for target '.obj/release-shared/customqbspropertiesdialog.o' failed
make[3]: *** [.obj/release-shared/customqbspropertiesdialog.o] Error 1
make[3]: Leaving directory '/tmp/SBo/qt-creator-4.3.1/src/plugins/qbsprojectmanager'
Makefile:1673: recipe for target 'sub-qbsprojectmanager-make_first' failed
make[2]: *** [sub-qbsprojectmanager-make_first] Error 2
make[2]: Leaving directory '/tmp/SBo/qt-creator-4.3.1/src/plugins'
Makefile:133: recipe for target 'sub-plugins-make_first-ordered' failed
make[1]: *** [sub-plugins-make_first-ordered] Error 2
make[1]: Leaving directory '/tmp/SBo/qt-creator-4.3.1/src'
Makefile:43: recipe for target 'sub-src-make_first-ordered' failed
make: *** [sub-src-make_first-ordered] Error 2

qt-creator:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
 
Old 01-28-2018, 01:33 AM   #26
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by maschelsea View Post
fatal error: qbs.h: No such file or directory
you forgot to install its dependency, qbs.
 
Old 01-28-2018, 01:50 AM   #27
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.
 
Old 01-28-2018, 09:53 AM   #28
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
you forgot to install its dependency, qbs.
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.
 
Old 01-28-2018, 09:56 AM   #29
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
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.
 
Old 01-28-2018, 10:19 AM   #30
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
this is another case of the mess github people had done lately with their handling of the tarballs
I knew there was a reason I make my own source tarballs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
create multi-tab ods from tab delimited files schneidz Programming 5 07-24-2017 11:06 AM
[SOLVED] Konsole tab title is PWD, Gnome Terminal tab title includes hostname...how to change? L_Carver Linux - Newbie 4 05-07-2017 01:50 AM
How do I get emacs to indent for tab AND respect tab to demarcate paragraphs RandomTroll Linux - Software 4 10-18-2016 11:37 AM
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 02:06 PM
Redirecting output of tab tab benjaminrtz Linux - General 1 04-28-2003 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration