Results 1 to 5 of 5

Thread: QtUiTools

  1. #1
    Join Date
    Jan 2006
    Posts
    39
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QtUiTools

    Hi all,

    I'm trying to use the QtUiTools module and am getting errors while compiling. Any help would be greatly appreciated!

    The command that has an error:

    g++ -o ui_test .obj/testing.o -L/usr/lib -L/build/buildd/qt4-x11-4.1.2/lib -L/usr/X11R6/lib -lQtUiTools -lQtXml -lQtGui -laudio -lXt -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lXinerama -lfreetype -lXext -lX11 -lQtCore -lfontconfig -lz -lm -ldl -lpthread

    And the error:
    /usr/bin/ld: cannot find -lQtUiTools

    Thanks in advance for any help.

    Derek

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QtUiTools

    Quote Originally Posted by drkbkr
    -L/build/buildd/qt4-x11-4.1.2/lib
    Is this a correct path?

  3. #3
    Join Date
    Jan 2006
    Posts
    39
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QtUiTools

    I was just looking at that, and no, that does not exist.

    Now I'm not even sure that I have the library installed. In /usr/lib I find all the other Qt libraries, libQtCore, libQtGui, libQtNetwork, etc., but no libQtUiTools. Am I missing it?

    The way I installed Qt was using the Synaptic package manager (on an Ubuntu system).

    And a search of my system (sudo find / -mount -name libQt*.so) finds no libQtUiTools.so anywhere.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QtUiTools

    Quote Originally Posted by drkbkr
    but no libQtUiTools. Am I missing it?
    It seems that QtUiTools exist only as a static library, so you might have to install some additional package.

  5. #5
    Join Date
    Jan 2006
    Posts
    39
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QtUiTools

    Yes.

    If you download and install from trolltech's site, you get a .a file in the lib directory. For whatever reason, if you install using a package manager, you don't get it. So I copied the .a file from a machine I did a manual install on, and I'm all good.

    Someday when I have time I'll just do the real install from trolltech's site.

    Thanks for your help.

    Derek

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.