I want to use qt creator for modifying a project that just uses makefiles. How i can do it? Right now i can just open project files one by one and there is no auto code completion or other advantages of ide. My main concern is use the ide over ssh actually.
I tried open all folder but it didnt work too.
CodePudding user response:
It is possible to use Qt Creator for a project that uses makefiles, but you will need to configure the project to use Qt Creator. This can be done by going to "File" > "Open File or Project" in Qt Creator and selecting the .pro
file for your project. This will open the project in Qt Creator and enable features such as code completion and debugging.
If you are using Qt Creator over SSH, you will need to ensure that the Qt Creator installation is available on the remote machine and that you have the necessary permissions to run it. You will also need to configure the SSH connection settings in Qt Creator to connect to the remote machine. Once this is done, you should be able to open and modify your project as usual.
CodePudding user response:
You can use Qt Creator for non-Qt projects, but it will always assume you want to use qmake, CMake, or QBS as your build system. It's not going to read your plain Makefiles and recognize what source files you are using.
In the New Project wizard, you can select non-Qt application. I recommend selecting qmake as your build system, which will create a .pro file, even if you won't end up using it. Then after it creates the project, go into your Project settings under Build Steps
. You can delete the built-in steps and add your own custom build steps to do whatever you want. Call make
or whatever. Do the same for the Clean Steps
.