Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qml2puppet not found even when compiled locally

    Tools
    2
    3
    976
    Loading More Posts
    • 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
      binaryking last edited by

      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 Reply Quote 0
      • E
        EricRFMA last edited by

        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 Reply Quote 0
        • B
          binaryking last edited by

          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 Reply Quote 0
          • First post
            Last post