
Originally Posted by
waitingforzion
Furthermore, I had recently sent a very simple Qt Application along with the necessary dlls in the same directory to my sister for testing. She reported to me that the program would not run. Even on my system, Qt executables always terminate with an error when the necessary dlls are not in the same directory.
Make sure you are bundling the correct DLLs form the Qt SDK directories. You want the DLL files from the /Qt/2009.03/Qt/bin and plugins directories (or equiv) and not the files in /Qt/2009.03/bin. The latter files are the runtime bundled with the Qt Creator and not the files your application is built against.

Originally Posted by
dhaxelbarqs
To compile and link application using wxWidgets library, you have to add or change the following locations in the generated project properties.
wxWidgets?
You may need to put conditional sections into your PRO file to account for path differences if you have external libraries involved (like Qwt, QCA or wwWidgets) or other differences. Something like:
# Platform specific tweaks
unix {
QWTPATH = /usr/local/qwt-5.2.0
}
win32 {
QWTPATH = C:\Qwt-5.2.0
}
INCLUDEPATH += $$QWTPATH/include
LIBS += -L$$QWTPATH/lib -lqwt
# Platform specific tweaks
unix {
QWTPATH = /usr/local/qwt-5.2.0
}
win32 {
QWTPATH = C:\Qwt-5.2.0
}
INCLUDEPATH += $$QWTPATH/include
LIBS += -L$$QWTPATH/lib -lqwt
To copy to clipboard, switch view to plain text mode
Bookmarks