Sharedlib instead of executable file on ubuntu
-
wrote on 23 Oct 2017, 22:38 last edited by
Hi, also check that you have Shadow builds enabled in Qt Creator.
-
Looks like your double clicking on the executable and trying to run it. Are you getting the 'library not found' error ? if that is the case, Qt libraries may not be in the path. Please check the path and fix it
Qn : Are you able to run your application from Qt Creator ?
-
wrote on 24 Oct 2017, 06:09 last edited by
i've the "library not foung error" but if i run the app by terminal it works. Why?
How i can fix the path?Yes i'm able to run my application from Qt Creator.
-
i've the "library not foung error" but if i run the app by terminal it works. Why?
How i can fix the path?Yes i'm able to run my application from Qt Creator.
@FED27 If you want your app to be runnable outside of QtCreator (or on other machines) you need to deploy it first.
See http://doc.qt.io/qt-5/linux-deployment.html -
wrote on 24 Oct 2017, 20:16 last edited by
i' m trying this way but when i launch the command qmake -config release it gives me
Project MESSAGE: Warning: unknown QT: charts -
Hi,
As silly as it may sound, did you install all of Qt components ?
-
Are you using a project template ?
-
wrote on 24 Oct 2017, 20:48 last edited by
SOLVED i used QMAKE_LFLAGS += -no-pie in the .pro file and it produced me an executable file instead of a library
-
Glad you found out and thanks for sharing !
Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum members may know what you are talking about.
15/15