Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator external tools paths
QtWS25 Last Chance

Qt Creator external tools paths

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
qt creatorexteranl tools
4 Posts 2 Posters 588 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Exotic_Devel
    wrote on 11 Oct 2019, 14:57 last edited by Exotic_Devel 10 Nov 2019, 15:38
    #1

    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.

    Captura de tela de 2019-10-11 12-38-17.png

    A 1 Reply Last reply 11 Oct 2019, 17:23
    0
    • E Exotic_Devel
      11 Oct 2019, 14:57

      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.

      Captura de tela de 2019-10-11 12-38-17.png

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 11 Oct 2019, 17:23 last edited by
      #2

      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

      Qt has to stay free or it will die.

      E 1 Reply Last reply 11 Oct 2019, 17:34
      1
      • A aha_1980
        11 Oct 2019, 17:23

        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

        E Offline
        E Offline
        Exotic_Devel
        wrote on 11 Oct 2019, 17:34 last edited by
        #3

        @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

        A 1 Reply Last reply 11 Oct 2019, 18:06
        1
        • E Exotic_Devel
          11 Oct 2019, 17:34

          @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

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 11 Oct 2019, 18:06 last edited by
          #4

          @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

          Qt has to stay free or it will die.

          1 Reply Last reply
          0

          2/4

          11 Oct 2019, 17:23

          • Login

          • Login or register to search.
          2 out of 4
          • First post
            2/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved