Transfering Qt from one machine to other
-
I've just compiled Qt 4.7.3 with Visual Studio 2010. I want to use it in another machines with another version of Qt installed. Can I transfer my compiled Qt to other computers? I don't want to compile again (taking 4 hours!)
-
You meant to ask about the binaries. Then yes, it can run on any other machine provided all the dependencies are available.
-
Thanks. I'll try and come back :)
-
The binaries (libraries and tools) should be portable - but hasn't qmake compiled in pathes (which means that you will need to patch / recompile qmake)?
-
there would be no problem if you transfer your code to another machine
-
[quote author="Lukas Geyer" date="1309327776"]The binaries (libraries and tools) should be portable - but hasn't qmake compiled in pathes (which means that you will need to patch / recompile qmake)?[/quote]
My experience did show problem when using visual studio. Somehow the registering of Qt did not work. I thought this has something to do because there was no -prefix option in configure. However, I have missed a part there.
So my assumption is that Lukas is right.
binaries might be copied and used on other machines, but the integration and use with Visual Studio brings the problem. -
bq. So my assumption is that Lukas is right.
binaries might be copied and used on other machines, but the integration and use with Visual Studio brings the problem.I'm planning to use it withing Qt Creator. (Not Qt VS2010 Integration). So isn't there any problem?
I can't wait to test it :-) (until tomorrow i can't do) -
The following "FAQ":http://developer.qt.nokia.com/faq/answer/is_it_possible_to_move_the_qt_directory_to_another_directory_after_installa contains information on what you need to do when moving your Qt installation around.