S
S
Sencis2019-06-01 22:34:54
linux
Sencis, 2019-06-01 22:34:54

How to run a QT console application without QT Creator on Linux?

After building the application in the Release directory, there is no executable file (ala .exe) through which you can run the application, how can you run the application without QT Creator?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
MechanicZelenyy, 2019-06-02
@Userpc0101

Use build system: make, cmake, qmake or gradle.

R
Ronald McDonald, 2019-06-01
@Zoominger

Collect it by statically linking all libs, for example.
And in Release it will appear when, oddly enough, you compile it into Release.

T
TheRonCronix, 2019-06-01
@TheRonCronix

I don’t know how libraries are searched for in linux, but on Windows it’s enough to put all the required dlls in the directory with the application and it will start (I assume that the situation is about the same on linux).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question