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

Once the application is built in the Release directory not appears executable file ( a La .exe), through which you can run the application as you can run the application without QT Creator?
March 23rd 20 at 18:42
4 answers
March 23rd 20 at 18:44
Solution
To use the build system: make, cmake, qmake or gradle.
I have the following files in the project Creator creates them automatically and if I understand correctly you do not need hands to write it through the terminal, you can just feed the program to Make this file and she will collect? - Josefa.Swift commented on March 23rd 20 at 18:47
@Josefa.Swift, in General, Yes, in terminal in the directory where the Makefile, type make and it tries to build the project. - vincent.Gottli commented on March 23rd 20 at 18:50
March 23rd 20 at 18:46
Solution
It was all very simple, after spoke make file in the directory of the release file appears dynamic (shared) libraries, and what would it run in terminal, you need to add the operator "./" i.e. if the file First_programm: "./First_programm".
March 23rd 20 at 18:48
To collect it, slinkova statically all libs, for example.
And in Release it will appear when you, oddly enough, compelite it in the Release.
March 23rd 20 at 18:50
Don't know how in linux, libraries are searched, but in Windows it is enough to put all the required dll in the folder of the application and it will run (assuming linux in about the same situation).
I thought so too))) - Josefa.Swift commented on March 23rd 20 at 18:53
I will tell you, it is also categorically wrong. - vincent.Gottli commented on March 23rd 20 at 18:56

Find more questions by tags C++Linux