uTalk

Official forum for Utopia Community

You are not logged in.

#1 2022-01-10 16:48:39

NiPeGun
Member
Registered: 2021-08-16
Posts: 4

Configure qt.conf to make the messenger work in a different location

I´m trying to install the messenger in a different location than the /opt one in Debian, but I´m having some issues:

If I run:

sh -c "/home/nipegun/crp/messenger/utopia --url %u"

Results in this error:

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, webgl, xcb.

Aborted

So, I set the debug variable with:

export QT_DEBUG_PLUGINS=1

...and run again:

sh -c "/home/nipegun/crp/messenger/utopia --url %u"

..now I can see this output:

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/nipegun/crp/messenger/platforms" ...
Cannot load library /home/nipegun/crp/messenger/plugins/platforms/libqxcb.so: (/home/nipegun/crp/messenger/plugins/platforms/../../lib/libQt5XcbQpa.so.5:
undefined symbol:>QLibraryPrivate::loadPlugin failed on "/home/nipegun/crp/messenger/plugins/platforms/libqxcb.so" :
"Cannot load library /home/nipegun/crp/messenger/plugins/platforms/libqx>qt.qpa.plugin:
Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, webgl, xcb.

Aborted

From that I asume is messing with the location of the libqxcb library cause of "/../../".

So, if I now set the variable:

export LD_LIBRARY_PATH="/home/nipegun/crp/messenger/lib"

The error is gone, but I mess with other configurations of my system.

How can I configure qt.conf to make the messenger work in that location?

Offline

#2 2022-02-19 13:49:23

SGL
Member
From: Infospace
Registered: 2021-12-05
Posts: 71

Re: Configure qt.conf to make the messenger work in a different location

try this:

sudo apt-get install libx11-xcb1 libgl1-mesa-glx libpulse-mainloop-glib0 libgtk-3-dev

Crypton/UUSD donation for new developments: F50AF5410B1F3F4297043F0E046F205BCBAA76BEC70E936EB0F3AB94BF316804

Offline

#3 2023-06-06 21:41:13

crpuusd
Member
From: Blockchain
Registered: 2022-12-13
Posts: 2,411

Re: Configure qt.conf to make the messenger work in a different location

SGL;1701 wrote:

try this:

sudo apt-get install libx11-xcb1 libgl1-mesa-glx libpulse-mainloop-glib0 libgtk-3-dev

According to what am seeing right here its seem like you are more of  a tech person and will like if you can widen of users to know the basics of tech and machine language.

Offline

#4 2023-06-08 19:55:29

full
Member
Registered: 2023-01-06
Posts: 2,634

Re: Configure qt.conf to make the messenger work in a different location

crpuusd;12406 wrote:
SGL;1701 wrote:

try this:

sudo apt-get install libx11-xcb1 libgl1-mesa-glx libpulse-mainloop-glib0 libgtk-3-dev

According to what am seeing right here its seem like you are more of  a tech person and will like if you can widen of users to know the basics of tech and machine language.

Yes, the above user is one of the tech guys we have on the UtopiaP2P ecosystem but the information he provided does need more explanation if you yourself are into tech.

Offline

#5 2023-06-08 19:56:54

joanna
Member
Registered: 2023-01-10
Posts: 3,925

Re: Configure qt.conf to make the messenger work in a different location

full;12734 wrote:
crpuusd;12406 wrote:
SGL;1701 wrote:

try this:

sudo apt-get install libx11-xcb1 libgl1-mesa-glx libpulse-mainloop-glib0 libgtk-3-dev

According to what am seeing right here its seem like you are more of  a tech person and will like if you can widen of users to know the basics of tech and machine language.

Yes, the above user is one of the tech guys we have on the UtopiaP2P ecosystem but the information he provided does need more explanation if you yourself are into tech.

I don't think he's into technology, but it is good to be curious when you do not know about something so as to more know about things around you.

Offline

#6 2023-06-08 19:57:25

Vastextension
Member
Registered: 2022-11-19
Posts: 2,712

Re: Configure qt.conf to make the messenger work in a different location

joanna;12735 wrote:
full;12734 wrote:
crpuusd;12406 wrote:

According to what am seeing right here its seem like you are more of  a tech person and will like if you can widen of users to know the basics of tech and machine language.

Yes, the above user is one of the tech guys we have on the UtopiaP2P ecosystem but the information he provided does need more explanation if you yourself are into tech.

I don't think he's into technology, but it is good to be curious when you do not know about something so as to more know about things around you.

Yes, you're sometimes curiosity can lead to the enthusiasm and later professionalism in the game if you like what you see or the benefit involved.

Last edited by Vastextension (2023-06-08 19:57:51)

Offline

#7 2023-06-08 19:58:22

thrive
Member
Registered: 2023-01-04
Posts: 2,575

Re: Configure qt.conf to make the messenger work in a different location

Vastextension;12736 wrote:
joanna;12735 wrote:
full;12734 wrote:

Yes, the above user is one of the tech guys we have on the UtopiaP2P ecosystem but the information he provided does need more explanation if you yourself are into tech.

I don't think he's into technology, but it is good to be curious when you do not know about something so as to more know about things around you.

Yes, you're sometimes curiosity can lead to the enthusiasm and later professionalism in the game if you like what you see or the benefit involved.

Correct, curiosity often leads to a desire to learn and understand new things. It can motivate people to seek out information, read books, attend seminars, and pursue educational opportunities.

Offline

#8 2023-06-08 23:01:00

joanna
Member
Registered: 2023-01-10
Posts: 3,925

Re: Configure qt.conf to make the messenger work in a different location

thrive;12737 wrote:
Vastextension;12736 wrote:
joanna;12735 wrote:

I don't think he's into technology, but it is good to be curious when you do not know about something so as to more know about things around you.

Yes, you're sometimes curiosity can lead to the enthusiasm and later professionalism in the game if you like what you see or the benefit involved.

Correct, curiosity often leads to a desire to learn and understand new things. It can motivate people to seek out information, read books, attend seminars, and pursue educational opportunities.

Curiosity can be a driver of creativity. When people are curious, they can come up with new ideas, explore new combinations of existing ideas, and push the limits of what is currently possible.

Offline

#9 2023-06-08 23:26:41

IyaJJJ
Member
Registered: 2023-01-25
Posts: 2,082

Re: Configure qt.conf to make the messenger work in a different location

joanna;12796 wrote:
thrive;12737 wrote:
Vastextension;12736 wrote:

Yes, you're sometimes curiosity can lead to the enthusiasm and later professionalism in the game if you like what you see or the benefit involved.

Correct, curiosity often leads to a desire to learn and understand new things. It can motivate people to seek out information, read books, attend seminars, and pursue educational opportunities.

Curiosity can be a driver of creativity. When people are curious, they can come up with new ideas, explore new combinations of existing ideas, and push the limits of what is currently possible.

Meanwhile, curiosity is a key driver of innovation. Inquisitive minds have the potential to push boundaries and create new breakthroughs in technology, science, and culture. This is why we see a project like UtopiaP2P today.

Offline

#10 2023-06-08 23:27:02

level
Member
Registered: 2023-01-19
Posts: 1,844

Re: Configure qt.conf to make the messenger work in a different location

IyaJJJ;12797 wrote:
joanna;12796 wrote:
thrive;12737 wrote:

Correct, curiosity often leads to a desire to learn and understand new things. It can motivate people to seek out information, read books, attend seminars, and pursue educational opportunities.

Curiosity can be a driver of creativity. When people are curious, they can come up with new ideas, explore new combinations of existing ideas, and push the limits of what is currently possible.

Meanwhile, curiosity is a key driver of innovation. Inquisitive minds have the potential to push boundaries and create new breakthroughs in technology, science, and culture. This is why we see a project like UtopiaP2P today.

That's true. Curiosity can lead to a desire to examine problems closely and find new ways to solve them. Innovation and creativity that arises from curiosity can help solve critical challenges facing society.

Offline

#11 2023-06-08 23:27:33

thrive
Member
Registered: 2023-01-04
Posts: 2,575

Re: Configure qt.conf to make the messenger work in a different location

level;12798 wrote:
IyaJJJ;12797 wrote:
joanna;12796 wrote:

Curiosity can be a driver of creativity. When people are curious, they can come up with new ideas, explore new combinations of existing ideas, and push the limits of what is currently possible.

Meanwhile, curiosity is a key driver of innovation. Inquisitive minds have the potential to push boundaries and create new breakthroughs in technology, science, and culture. This is why we see a project like UtopiaP2P today.

That's true. Curiosity can lead to a desire to examine problems closely and find new ways to solve them. Innovation and creativity that arises from curiosity can help solve critical challenges facing society.

From an exploration of new places to discovering hidden talents and interests, curiosity encourages exploration. Curious people often have a desire to step out of their comfort zones to experience new things.

Offline

#12 2023-06-08 23:28:09

oba
Member
Registered: 2023-01-13
Posts: 1,869

Re: Configure qt.conf to make the messenger work in a different location

thrive;12799 wrote:
level;12798 wrote:
IyaJJJ;12797 wrote:

Meanwhile, curiosity is a key driver of innovation. Inquisitive minds have the potential to push boundaries and create new breakthroughs in technology, science, and culture. This is why we see a project like UtopiaP2P today.

That's true. Curiosity can lead to a desire to examine problems closely and find new ways to solve them. Innovation and creativity that arises from curiosity can help solve critical challenges facing society.

From an exploration of new places to discovering hidden talents and interests, curiosity encourages exploration. Curious people often have a desire to step out of their comfort zones to experience new things.

Curiosity, in general, is a driver of progress, and it can lead to remarkable discoveries, breakthroughs, and developments. Technically, this is the reason why we have cryptocurrency in today's market.

Offline

#13 2023-06-08 23:28:34

IyaJJJ
Member
Registered: 2023-01-25
Posts: 2,082

Re: Configure qt.conf to make the messenger work in a different location

oba;12800 wrote:
thrive;12799 wrote:
level;12798 wrote:

That's true. Curiosity can lead to a desire to examine problems closely and find new ways to solve them. Innovation and creativity that arises from curiosity can help solve critical challenges facing society.

From an exploration of new places to discovering hidden talents and interests, curiosity encourages exploration. Curious people often have a desire to step out of their comfort zones to experience new things.

Curiosity, in general, is a driver of progress, and it can lead to remarkable discoveries, breakthroughs, and developments. Technically, this is the reason why we have cryptocurrency in today's market.

There's no doubt about that. Curiosity is a natural human trait that drives exploration and discovery. Curiosity can lead to a wide array of things and it will be good to be more careful when curious about something to avoid the danger involved.

Offline

#14 2023-06-14 08:28:35

Comrade
Member
From: Utopia App Client
Registered: 2022-12-30
Posts: 2,385

Re: Configure qt.conf to make the messenger work in a different location

IyaJJJ;12801 wrote:
oba;12800 wrote:
thrive;12799 wrote:

From an exploration of new places to discovering hidden talents and interests, curiosity encourages exploration. Curious people often have a desire to step out of their comfort zones to experience new things.

Curiosity, in general, is a driver of progress, and it can lead to remarkable discoveries, breakthroughs, and developments. Technically, this is the reason why we have cryptocurrency in today's market.

There's no doubt about that. Curiosity is a natural human trait that drives exploration and discovery. Curiosity can lead to a wide array of things and it will be good to be more careful when curious about something to avoid the danger involved.

Curiosity helps to obtain new discoveries and assimilate growth in knowledge. In Utopia p2p ecosystem is helps to understand wide range of the systems, importance anf uses.

Offline

#15 2024-02-08 18:35:56

Lanistergame2
Member
Registered: 2022-12-25
Posts: 2,420

Re: Configure qt.conf to make the messenger work in a different location

Comrade;13801 wrote:
IyaJJJ;12801 wrote:
oba;12800 wrote:

Curiosity, in general, is a driver of progress, and it can lead to remarkable discoveries, breakthroughs, and developments. Technically, this is the reason why we have cryptocurrency in today's market.

There's no doubt about that. Curiosity is a natural human trait that drives exploration and discovery. Curiosity can lead to a wide array of things and it will be good to be more careful when curious about something to avoid the danger involved.

Curiosity helps to obtain new discoveries and assimilate growth in knowledge. In Utopia p2p ecosystem is helps to understand wide range of the systems, importance anf uses.

Utopia P2P ecosystem  decentralized and privacy-centric platform that encompasses various features like secure messaging, email, financial transactions, and more. Utopia operates on a peer-to-peer (P2P) network, ensuring privacy and security by utilizing advanced encryption techniques. Users can communicate and transact without relying on a central server, enhancing anonymity. The ecosystem also includes tools like Crypton, a native  decentralized marketplace. Utopia aims to provide a private and censorship-resistant online experience.

Offline

#16 2024-02-08 19:47:24

Lanistergame2
Member
Registered: 2022-12-25
Posts: 2,420

Re: Configure qt.conf to make the messenger work in a different location

configure Qt to use a different location for a messenger application, you can create a qt.conf file in the same directory as the executable or in a location specified by the QT_CONFIG_FILE environment variable. Here's a basic example:

Offline

#17 2024-06-24 21:09:28

Kelechi
Member
Registered: 2022-12-25
Posts: 3,052

Re: Configure qt.conf to make the messenger work in a different location

By configuring qt.conf correctly, you can ensure that your messenger application runs using resources from the specified new location, improving flexibility and organization of your deployment.

Offline

#18 2024-06-24 21:33:42

Detroit
Member
Registered: 2022-12-27
Posts: 2,064

Re: Configure qt.conf to make the messenger work in a different location

Steps to Apply the Configuration
Locate the qt.conf file in the directory where your messenger application's executable resides, or create it if it does not exist.
Edit the qt.conf file using a text editor and add the desired configuration.

Offline

#19 2024-06-24 21:57:43

Lanistergame2
Member
Registered: 2022-12-25
Posts: 2,420

Re: Configure qt.conf to make the messenger work in a different location

Setting the Prefix Path
You can change the prefix path, which is the root directory for the Qt libraries and other resources. This method redirects the application to look for all resources relative to a new base directory.

Offline

#20 2024-07-04 22:03:47

Kelechi
Member
Registered: 2022-12-25
Posts: 3,052

Re: Configure qt.conf to make the messenger work in a different location

Similar to DraftKings, FanDuel started as a daily fantasy sports provider and has since expanded to include a sportsbook and online casino. It offers a comprehensive selection of sports betting options and is known for its promotions and user-friendly mobile app.

Offline

#21 2024-07-04 22:13:28

Lanistergame2
Member
Registered: 2022-12-25
Posts: 2,420

Re: Configure qt.conf to make the messenger work in a different location

Replace /path/to/qt with the actual path to the Qt installation or the specific directories where the Qt components are located. You can adjust or add paths according to your needs.

Offline

#22 2024-07-08 21:10:13

Kelechi
Member
Registered: 2022-12-25
Posts: 3,052

Re: Configure qt.conf to make the messenger work in a different location

Plugins: Relative path to the directory containing Qt plugins.
Libraries: Relative path to the directory containing Qt libraries.
Translations: Relative path to the directory containing translation files.

Offline

#23 2024-07-08 21:44:09

Lanistergame2
Member
Registered: 2022-12-25
Posts: 2,420

Re: Configure qt.conf to make the messenger work in a different location

Create or Edit qt.conf File: This file should be placed in the same directory as your application executable or in the root of the application's directory. It uses the .ini format.
Define Paths in qt.conf: You can specify paths for the Plugins, Libraries, Translations, and other resources. Here's a sample qt.conf:

Offline

#24 2024-07-08 21:51:47

Detroit
Member
Registered: 2022-12-27
Posts: 2,064

Re: Configure qt.conf to make the messenger work in a different location

To configure qt.conf to make a Qt application work in a different location, you can adjust the configuration to specify paths for plugins, libraries, and other resources. This is useful if you want to move a Qt application to a different directory structure without modifying the application code itself.

Offline

#25 2024-10-07 19:12:17

Lanistergame2
Member
Registered: 2022-12-25
Posts: 2,420

Re: Configure qt.conf to make the messenger work in a different location

Specify QML Imports Path: For a messenger that uses QML, you can direct it to look for QML modules in a new directory: ini [Paths] ImportPath = /new/location/path/qml
By customizing your qt.conf file this way, you can effectively redirect the messenger application to locate its required resources in a different directory. Make sure the paths you specify are accessible and contain the necessary files.

Offline

Board footer

Powered by FluxBB