Qt Creator external tools paths
-
Helo!
I am getting a path error when configuring external tools with Qt Creator. It is an error in the "Working Directory" field. The error says "The path% {CurrentDocument: Path} expanded to an empty string", what does that mean?
I also couldn't find the qmlviewer tool in the Qt installation directory, instead I found an executable called qmlpreview but I don't know if it's just the same with a different name. -
Hi @Exotic_Devel,
I think you have a typo in your variable, it should be
%{CurrentDocument:Path}
without space after the colon:
.Also, do you have a document open while running that command?
Which Creator version is that, and on which platform?
Regards
-
@aha_1980
You're right, the error was because no projects were open during configure. When any project is open the error does not exist.
What about the problem with qmlviewer, can you give me any suggestions?Qt5.12, Creator 4.10.1, Ubuntu 19.04
-
@Exotic_Devel said in Qt Creator external tools paths:
What about the problem with qmlviewer, can you give me any suggestions?
I honestly have no idea what that is. Looking in the
qmlviewer.xml
file, it seems to be related to Qt Quick 1, so likely a Qt 4 remnant.Regards