How to integrate Chrome browser project in Qt Creator in Ubuntu

I was able to understand the structure of the Chrome browser , and now I would like to use the IDE to make some changes for a personal project on the Ubuntu Trusty machine (14.04) .

It has already been compiled, and I just want to use the IDE to make my life easier.

I tried adding chrome to Qt Creator using an option open project, but with no luck.

Could you advise me to achieve this? Some steps would be very helpful. Moreover, could one compile / build chrome from Qt Creator? (avoid entering into the console ninja -C out/Debug chrome chrome_sandbox, and out/Debug/chromeevery time)

If you guys can offer me another IDE you're used to, please direct me and I will change the message header.


// UPDATE 1

I tried to make these configurations for Build / Run as follows:

Build:
Build step

Run Run step

I get the following error:

:-1: error: No rule to make target all. "Stop.`

// UPDATE 2:

Error from section Compile output Error

+4
source share
2 answers

You can edit any code project in the Qt creator, but you cannot use Open projectit if it is not a Qt project. Use Import project -> Import existing projectin the dialog box instead New project.

, Projects. Build steps Add Build step -> Custom Process step. , Command, Arguments Working Directory. , , ninja, -C out/Debug chrome chrome_sandbox %{buildDir} .

Add build step

Similarely, Run ( ), .

Add run configuration

+5

src:

gn gen out/Default --ide=qtcreator

QtCreator src/out/Default/qtcreator_project/all.creator

+4

All Articles