Prefixed for life?
-
Successfully built for VS 2013 using configure -prefix...but the problem I cannot move the Qt library directory where it was built otherwise I will get run time errors related to DLLs not found...I even tried to run the designer and assistant and they would not run unless the Qt folder is kept the same as it was built. Any idea if this can changed or do I need to rebuild without this -prefix option?
Thanks.
-
Hi,
You may find "this":http://qt-project.org/faq/answer/is_it_possible_to_move_the_qt_directory_to_another_directory_after_installa interesting
Hope it help
-
Thanks! I will try this, and maybe next time rebuild without "prefix" option.
-
I believe that as long as you either
a) have your QT dll's in the same directory as your .exe ... or
b) have your QT dll directory in your PATH ...
... the application will find them and load them correctly at runtime.[edit] I'm sorry, I failed to notice this is a build-time, not run-time, issue. Yeah, that qt.conf solution is what you need. It's a great solution!
-
The prefix option will not influence the matter, if you don't specify it the built libraries are prefixed with a default value