Qml2puppet not found even when compiled locally



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



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



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.