[SOLVED]Alternative to "make install" in Qt Creator
-
Howdy,
Is there any GUI action in Qt Creator works just like "make install" in terminal?
-
I got the solution from the #Qt irc channel... here it is:
bq. 10:18:57 AM - peppe: mbnoimi: project -> run settings -> deployment method: make it "make" with "install" argument
10:19:03 AM - peppe: then you can do Build -> deploy -
The above solution installs the files into Qt path. But it didn't work in case I want to install a plugin for Qt Creator itself... Any suggest?
-
The above solution calls "make install" and will get you the same results as when you run that on the command line. If that is not what you want, then you will need to fix your build system to do what you want.
-
bq. If that is not what you want, then you will need to fix your build system to do what you want.
For most cases the above solution works except in case I want to install Qt Creator plugin.
For example: I successfully installed Qt Designer plugin by "Build -> deploy" but GUI designer of Qt Creator has another folder so I've to copy these files manually to /home/mbnoimi/.Qt5.0.2/Tools/QtCreator/bin/designer/ because "Build -> deploy" copies the files to /home/mbnoimi/.Qt5.0.2/5.0.2/gcc_64/plugins/designer
So "Build -> deploy" fixes the issue partially.
-
Yeap, that is what I said: Fix the build system to put the files where you want them.
You could of course also add custom executable steps to your deploy configuration that copy the files for you if you do not want to fix the build system. You can run arbitrary programs/scripts, so anything is possible:)