Results 1 to 2 of 2

Thread: Find the Qt root directory

  1. #1
    Join Date
    Jan 2011
    Posts
    212
    Thanks
    24
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Find the Qt root directory

    Hello forum,

    I am using Linux and i have to compile umbrello - the uml model editor from the source.

    The compilation cannot find the qt installation path even though the Qt is installed. So i think i have mention the prefix with the configure command while configuring the umbrello.

    I found the include(/usr/include /qt4/) and lib(/usr/lib/qt4/) directory for the qt. But what is the root directory(.....). Which path should i provide with? How to find the root path of the Qt installation?


    Regards
    Sajjadul

  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: Find the Qt root directory

    If the Umbrello build cannot find Qt with cmake then it seem likely that qmake is missing or broken.
    • Does
      Qt Code:
      1. qmake -v
      To copy to clipboard, switch view to plain text mode 
      return a Qt version number and path?
    • Do you have the KDE 4 and Qt 4 development packages from your distro installed?
    • What is the exact error message?

    The CMAKE_INSTALL_PREFIX in the install instruction refers to where you want the end product to be installed, not where Qt is installed.

Similar Threads

  1. QFontDatabase:Cannot find font directory
    By soumya in forum Qt for Embedded and Mobile
    Replies: 9
    Last Post: 10th November 2014, 06:08
  2. How to find Application Data directory?
    By Teuniz in forum Qt Programming
    Replies: 7
    Last Post: 26th July 2013, 14:02
  3. Problem to run a Qt Gui application as root
    By holmfred in forum Newbie
    Replies: 3
    Last Post: 23rd October 2010, 14:07
  4. label on root window
    By Corinzio in forum Qt Programming
    Replies: 0
    Last Post: 21st January 2009, 21:08
  5. Replies: 2
    Last Post: 2nd December 2008, 05:37

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.