Necessary basic QT6 libraries for average QT6 apps? [SOLVED]

Moderator: Forum moderators

Post Reply
geo_c
Posts: 3050
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2372 times
Been thanked: 945 times

Necessary basic QT6 libraries for average QT6 apps? [SOLVED]

Post by geo_c »

As per my post on running Double Commander-portableQT6 in Airedale and Spectr here: viewtopic.php?t=14080

I'm following up.

It seems in Airedale, QT6-core and QT6-network along with one or two other QT6 libs were already installed on the system after all.

I went ahead and installed QT6-base since DoubleCommander wasn't launching from QT6-core. After that it still didn't launch, but after installing QT6-printsupport-6.8.2_1, Double Commander booted right up.

So my only question is what should the baseline QT6 libraries be to run the majority of average QT6 applications?

Or is really a matter of each application?

Last edited by geo_c on Sat Mar 29, 2025 10:02 pm, edited 1 time in total.

geo_c
Old School Hipster, and Such

User avatar
Jasper
Posts: 1821
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 895 times
Been thanked: 384 times

Re: Necessary basic QT6 libraries for average QT6 apps?

Post by Jasper »

@geo_c

What are planning to do?

I will use Qt5 as an example.

The base source file is

qt-opensource-linux-x64-5.xx.x

then you have submodules which need to be compiled for the type of application that you are building.

submodules.jpeg
submodules.jpeg (155.32 KiB) Viewed 140 times

So, the compiler will tell you which modules are required when it fails to build.

This is for Qt6.8

https://doc.qt.io/qt-6/qtmodules.html

If you start your application in terminal it should spit out the errors and you can then add the modules required.

geo_c
Posts: 3050
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2372 times
Been thanked: 945 times

Re: Necessary basic QT6 libraries for average QT6 apps?

Post by geo_c »

Jasper wrote: Mon Mar 24, 2025 8:37 pm

So, the compiler will tell you which modules are required when it fails to build.

This is for Qt6.8

https://doc.qt.io/qt-6/qtmodules.html

If you start your application in terminal it should spit out the errors and you can then add the modules required.

I'm not actually building any packages.

I'm really just asking about running typical QT6 applications. I needed to install QT6-printsupport-6.8.2_1 in order to run DoubleCommander-portable-qt6 for instance. That's what got me wondering what is the standard set of modules that should be present on the system to run most stuff.

But it's more likely you just have to run an application and see what's missing then install what's missing per application, or else install every qt-lib available and bloat the system.

geo_c
Old School Hipster, and Such

User avatar
bigpup
Moderator
Posts: 7512
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 1021 times
Been thanked: 1682 times

Re: Necessary basic QT6 libraries for average QT6 apps?

Post by bigpup »

But it's more likely you just have to run an application and see what's missing then install what's missing per application

Welcome to Linux software! :roll: :welcome:

That is normal, if the program was not compiled for the specific Linux OS, or to work on many different versions of Linux.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
norgo
Posts: 296
Joined: Mon Jul 13, 2020 6:39 pm
Location: Germany
Has thanked: 7 times
Been thanked: 119 times
Contact:

Re: Necessary basic QT6 libraries for average QT6 apps?

Post by norgo »

@geo_c

this depends on distribution
I do it just like openSuSE

openSuSE libqt6base package contains:

Code: Select all

libQt6Concurrent6
libQt6Core6
libQt6DBus6
libQt6Gui6
libQt6Network6
libQt6OpenGL6
libQt6OpenGLWidgets6
libQt6PrintSupport6
libQt6Sql6
libQt6Test6
libQt6Widgets6
libQt6Xml6
Post Reply

Return to “KL-Dev_Work”