Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

dyld Library not loaded on Mac OSX Maverick 10.9.4

$
0
0
I am new to Qt and C++. I wrote my first Qt code today : #include <QApplication> #include <QPushButton>   int main(int argc, char *argv[]) {     QApplication app(argc, argv);       QPushButton bouton("Salut les Zéros, la forme ?");     bouton.show();       return app.exec(); } When I build this code, everything is ok. But when I try to run it I get the following error message : dyld: Library not loaded: /work/build/______________________________PADDING______________________________/lib/QtWidgets.framework/Versions/5/QtWidgets Referenced from: /Users/samueldrouin/Fichiers/Programmation/C++/Tutorial/first_gui/build-first_gui-Desktop_Qt_5_3_clang_64bit-Debug/first_gui.app/Contents/MacOS/first_gui Reason: image not found The program has unexpectedly finished. Link to the /lib folder look like they are correct. I tried to reinstall Qt. Xcode is installed. I also tried the terminal command : otool -L on Qtwidget exec but I do not really understand how to use the command.

Viewing all articles
Browse latest Browse all 2113

Trending Articles