Results 1 to 2 of 2

Thread: Unable to use Qt with Ruby on MacOS

  1. #1
    Join Date
    Oct 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Unable to use Qt with Ruby on MacOS

    Hi,

    I've been willing to do some Ruby using Qt but it seems harder to install it than to use it...

    So here's my problem. I had to download and install Qt, no problem there. Next. I had to install qt4-qtruby. Here's the problem begin. To install it I have to use a command line like cmake blablabla something make something make. I hadn't cmake installed on my computer so I download it. IMPOSSIBLE to install it. I had to google all over the word to find that I needed something called Java Developper Package exclusively on the apple.developper site. And of course it's was invisible in the "normal" search.

    Final step : compiling/building qt4-qtruby.

    I have a nice error where it's speak of automoc4. I search for it in google, read like ALL the pages I had in result and nothing.

    Is it simply impossible to use qtruby on mac ? Is there something I do wrong ? Some Path to add ?

    Here's my exact error :
    shell prompt $> cmake -DCMAKE_INSTALL_PREFIX=/opt/kde4/ . && make && make install
    CMake Error at /opt/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
    Did not find automoc4 (Automoc4Config.cmake, part of kdesupport).
    (missing: AUTOMOC4_EXECUTABLE)
    Call Stack (most recent call first):
    cmake/modules/FindAutomoc4.cmake:56 (find_package_handle_standard_args)
    CMakeLists.txt:70 (FIND_PACKAGE)

    Sorry for my english it's not my primary langage and I'm quite angry after passing 2hours trying to install something I was think for fun...

    thanks in advance for any answer

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Unable to use Qt with Ruby on MacOS

    automoc is part of KDE which seems to indicate that you will need at least kde-support installed.

Similar Threads

  1. Embedding ruby into Qt application.
    By vereteran in forum Qt Programming
    Replies: 0
    Last Post: 12th February 2010, 18:04
  2. modules do not work with ruby (windows)
    By Animus in forum Installation and Deployment
    Replies: 1
    Last Post: 6th September 2009, 13:16
  3. Qt 4.5.0 under MacOS-X
    By hunsrus in forum Qt Programming
    Replies: 0
    Last Post: 13th March 2009, 10:50
  4. Objective C, Python and Ruby code with C++ Qt application
    By Berberis in forum Qt Programming
    Replies: 2
    Last Post: 5th June 2008, 12:40
  5. Python or ruby or lua
    By Gopala Krishna in forum General Discussion
    Replies: 6
    Last Post: 13th October 2007, 15:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.