[Qt-creator] Remote Linux plugin and CMake

Teske Daniel Daniel.Teske at digia.com
Wed Aug 21 11:49:26 CEST 2013


I know there are some people which would like to use cmake as their build system and make use of the remote linux support in creator. We need your input. The remote linux plugin is actually generic enough to make that possible. The remote linux plugin just needs information on what to deploy.

There are at least 3 different ways we could implement that.
- We could integrate with cpack. That is let cpack generate a package for us, which we then deploy and install.
This is convenient for those that already are using cpack. And it's not much work to add the necessary lines to the CMakeLists.txt file.

- We could "make install" the project into a temporary directory and then deploy that directory.
This is easy to implement and probably works with most projects.

- The project has to generate a file which tells Creator what to deploy. Oleksii Serdiuk has implemented that, and it works like this. The project has to have a CMakeDeployment.txt in the root of the project, which essentially contains a list of files that should be deployed and where to deploy them
The benefit here is, that Oleksii already wrote a patch, and that we could use the same file format also for the generic and autotools projects.

Now, what we need to decide are two related questions. What is the ideal way in your opinion? And would the 3. option be nevertheless a improvement for you?


More information about the Qt-creator mailing list