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. Qml2puppet not found even when compiled locally

Qml2puppet not found even when compiled locally

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 1.2k 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.
  • B Offline
    B Offline
    binaryking
    wrote on last edited by
    #1

    I have my custom builds of Qt 5.2.2 and Qt Creator 3.0.81 on OS X 10.9.1

    I get this error message every time I try to use Qt Quick Designer for my Qt Quick 2.0 QML file.

    !http://s3.postimg.org/vu7cfc8tv/Screen_Shot_2014_02_07_at_11_33_21_pm.png(error image)!

    As suggested, I have compiled qml2puppet and I have it in my default Qt 'bin' directory. My QTDIR is set to /usr/local/Qt-5.2.2 but as you see in the image, Qt Quick Designer searches the qml2puppet executable in /bin/ directory instead of /usr/local/Qt-5.2.2/bin directory. I had similar problems with the downloaded package of Qt Creator.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      EricRFMA
      wrote on last edited by
      #2

      I just went through the same thing with no issues.

      I think the only difference is that I don't have QT_DIR set.

      In the qml2puppet directory I did :
      @/Volumes/Projects/Qt5.2.1/bin/qmake
      make -r@

      Then, the qml2puppet executable appears in <code> /Volumes/Projects/Qt5.2.1/bin/qml2puppet.app/Contents/MacOS</code> as advertised.

      Is your <code>qmake</code> in <code>/usr/local/Qt-5.2.2/bin</code>? The bin directory where the <code>qmake</code> resides seems to be pivotal in deciding where the build results land. In this case it seems that <code>qml2puppet.app</code> lands in the same directory where the <code>qmake</code> binary resides.

      Hope this helps...

      1 Reply Last reply
      0
      • B Offline
        B Offline
        binaryking
        wrote on last edited by
        #3

        I have already built qml2puppet and I have it in /usr/local/Qt-5.2.2/qml2puppet. The problem here is - why does Qt Creator search for qml2puppet in /bin/ directory instead of /usr/local/Qt-5.2.2/bin/ directory.
        [quote author="EricRFMA" date="1391902793"]I just went through the same thing with no issues.

        I think the only difference is that I don't have QT_DIR set.

        In the qml2puppet directory I did :
        @/Volumes/Projects/Qt5.2.1/bin/qmake
        make -r@

        Then, the qml2puppet executable appears in <code> /Volumes/Projects/Qt5.2.1/bin/qml2puppet.app/Contents/MacOS</code> as advertised.

        Is your <code>qmake</code> in <code>/usr/local/Qt-5.2.2/bin</code>? The bin directory where the <code>qmake</code> resides seems to be pivotal in deciding where the build results land. In this case it seems that <code>qml2puppet.app</code> lands in the same directory where the <code>qmake</code> binary resides.

        Hope this helps...[/quote]

        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