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 last edited by Exotic_Devel
    #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

    aha_1980A 1 Reply Last reply
    0
    • E Exotic_Devel

      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

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 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
      1
      • aha_1980A aha_1980

        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 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

        aha_1980A 1 Reply Last reply
        1
        • E Exotic_Devel

          @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

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 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

          • Login

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