LinuxQuestions.org
Review your favorite Linux distribution.
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 03-07-2024, 07:19 AM   #1
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Can I 'upgrade' to qt6?


Hey gang,

I'm on 15.0 and the qt that comes with it is qt5.

I'd like to upgrade to qt6, because I want to use the latest Quaternion (the one in the SlackBuilds is older than dirt).

Is it possible to 'upgrade' the qt in my Slackware 15.0 64? If/whan I 'make' it, do I actually *use*
Code:
upgradepkg <whatever>
or should I use
Code:
installpkg <whatever>
Should I uninstall the qt5 first if it's an install and not an upgrade?

Thanks for any ideas or information what I can/should do.
 
Old 03-07-2024, 07:39 AM   #2
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,086

Rep: Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756Reputation: 756
Replacing qt5 with qt6 will probably break stuff. Might be better to install qt6 alongside qt5. There's an SBo script for compiling (will take some time...)
 
1 members found this post helpful.
Old 03-07-2024, 10:53 AM   #3
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,702

Rep: Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382
You could just use the flatpak package. I have started using flatpak for a handful of things, namely duckstation, PCSX2, RPCS3 and it works great. Alien Bob has packages and a easy howto on how to set it up on his blog.

https://flathub.org/apps/com.github.quaternion
 
1 members found this post helpful.
Old 03-07-2024, 11:35 AM   #4
slack-uke
Member
 
Registered: Nov 2013
Location: Toronto, Ontario, Canada
Distribution: Slackware 15.0 64-bit & Current 64-bit
Posts: 85

Rep: Reputation: 88
I built it for my brother for a slackware64 15.0 machine in order to use some advanced programming python utilities.

The qt6 package is available at slackbuilds.org at:

https://slackbuilds.org/repository/15.0/libraries/qt6/

Just beware on a virtualbox virtual machine I had to assign 4 processors, 16 GB RAM, and ensure I had 40 GB free disk space. On a slackware64 Current host running VirtualBox 7.0.14 with a AMD Ryzen 5 3400G with Radeon RX Vega 11 Graphics with 32 GB RAM, it took 16+ hours to build. Nevermind the dozens of prerequisite packages that needed to be built ahead of time.

It can be done if you have the resources and cohabitates nicely with qt5.
 
1 members found this post helpful.
Old 03-07-2024, 11:38 AM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,147
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
Quote:
Replacing qt5 with qt6 will probably break stuff.
Qt5 and Qt6 are different.
https://doc.qt.io/qt-6/portingguide.html

Qt5 and Qt6 can both be installed at he same time as others have said.
 
2 members found this post helpful.
Old 03-07-2024, 11:43 AM   #6
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,154

Rep: Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323
Quote:
Originally Posted by teckk View Post
Qt5 and Qt6 are different.
https://doc.qt.io/qt-6/portingguide.html

Qt5 and Qt6 can both be installed at he same time as others have said.
And was added to -current on 28 February.
 
Old 03-07-2024, 12:58 PM   #7
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Okay, sounds good. Thanks everyone for the assistance. I have a AMD Ryzen 7 3700X with 24GB RAM, I guess I'll just limb a tree I felled yesterday for firewood for next winter and then sit and watch some movies until it finishes up compiling.
 
1 members found this post helpful.
Old 03-07-2024, 03:11 PM   #8
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 318

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by FTIO View Post
Okay, sounds good. Thanks everyone for the assistance. I have a AMD Ryzen 7 3700X with 24GB RAM, I guess I'll just limb a tree I felled yesterday for firewood for next winter and then sit and watch some movies until it finishes up compiling.
That's quite a machine you've got there. Can you let us know how long it takes to finish compiling?
 
1 members found this post helpful.
Old 03-08-2024, 05:18 AM   #9
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
It took about two hours to compile. I started it and even wrote the time down when it was started, then had things to do, like go and limb and buck a tree I felled the other day, then got back inside and sat and relaxed a little bit and watched a part of a movie before I remembered I was hoping to time it nice and as close to accurately as possible...it was done when I came in and sat down two hours and about 15 minutes later, heh. Sorry I didn't watch it closer, but I wanted the whole system to be left alone as I was expecting a lot longer than 2 hours, lol.
 
2 members found this post helpful.
Old 03-08-2024, 06:24 AM   #10
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,243

Rep: Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037
3h30, here with an old amd 6 cores, and 24 gin of memory.
 
2 members found this post helpful.
Old 03-10-2024, 04:54 AM   #11
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 318

Rep: Reputation: 171Reputation: 171
Quote:
Originally Posted by FTIO View Post
It took about two hours to compile. I started it and even wrote the time down when it was started, then had things to do, like go and limb and buck a tree I felled the other day, then got back inside and sat and relaxed a little bit and watched a part of a movie before I remembered I was hoping to time it nice and as close to accurately as possible...it was done when I came in and sat down two hours and about 15 minutes later, heh. Sorry I didn't watch it closer, but I wanted the whole system to be left alone as I was expecting a lot longer than 2 hours, lol.
Two hours is pretty impressive - the computer to compile qt6 and you to get the tree done and still have time to watch a movie.

Me, I would just have watched the movie
 
1 members found this post helpful.
Old 03-10-2024, 11:42 AM   #12
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
"time make ..." works just fine. You can even run it under "screen", and then log out. When you return, and see an idle system, you can see the "screen -r" to see the results.

And I'm building Qt6, just to show that it can work... or to show that I don't know what I'm talking about.
 
1 members found this post helpful.
Old 03-10-2024, 03:51 PM   #13
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Original Poster
Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
Originally Posted by gus3 View Post
"time make ..." works just fine. You can even run it under "screen", and then log out. When you return, and see an idle system, you can see the "screen -r" to see the results.

And I'm building Qt6, just to show that it can work... or to show that I don't know what I'm talking about.
I was sure hoping there was such a thing. It seems that someone way back in the UNIX days would have come up with something like this just for shits and giggles and it become a standard piece of shell material.

Anyway, so how would one use that, like this for example?:

Code:
time make ./Quaternion.SlackBuild
 
  


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
[SOLVED] qt6 and pkgconfig files Keith Hedger Linux From Scratch 7 06-02-2023 06:09 AM
[SOLVED] QT6 3rensho Slackware 9 10-13-2022 06:37 AM
LXer: Hands-On with Fedora Media Writer 5.0: New Qt6 UI, Fedora Kinoite Support, and More LXer Syndicated Linux News 0 05-12-2022 04:15 PM
LXer: PDF Mix Tool 1.0 Released With Overhauled Interface, PDF Metadata Editing And Qt6 Support LXer Syndicated Linux News 0 06-15-2021 11:21 AM

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

All times are GMT -5. The time now is 12:02 PM.

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