Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can compile Candle but no button images at runtime on other machine #617

Open
PaulHosh opened this issue Sep 7, 2023 · 1 comment
Open

Comments

@PaulHosh
Copy link

PaulHosh commented Sep 7, 2023

Hi Forum.

Many thanks for the Candle program.

I have compiled Candle 1.1.8 using QT Creator IDE 11.0.2. I set up QT to use the MIngGW 5.12.12 compiler (available in the Archives under custom install). The program correctly shows the icon images (see link below) that are listed in the qrc file when running in the IDE.

However, the compiled program does not show the button images when running on another machine.

Is there a required prefix for the qrc file? Using the "/" or nothing does not show the button images when running Candle on the other machine. I executed qmake and made the release version. No button images visible on the other machine.

It seems that the button images are not embedded into the exe file. How is this done?

Snapshot in QT creator
IDE cubepng

Snapshot showing the output. Left image from within QT creator. Right image from other machine.
Two versions of Candle

thanks
paul

@mar0x
Copy link

mar0x commented Sep 8, 2023

Hello,
To be able to run compiled Qt application on other PC, you have to prepare it properly: build "Release" version, copy translation files and "deploy" required Qt libraries and plugins into application directory (so you don't have to install Qt to run Candle on other PC).
I don't know how to do it from Qt Creator. There is a command line tool "windeployqt" to perform the last step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants