Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Qt Installed Directory????
QtWS25 Last Chance

[SOLVED] Qt Installed Directory????

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 834 Views
  • 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.
  • D Offline
    D Offline
    delanov
    wrote on last edited by
    #1

    Qt 4.7.2 (32 bit) is on my machine and I'm using Qt Creator 2.1.0 to create a Qt Quick application. I want to use the states.png i.e Qt Logo in the application. However, the following given information tells me to copy the Logo to the project directory. The following information also gives a path, however I need a Linux path to where Qt installed.

    To use the states.png image in your application, you must copy it to the project directory from the examples directory in the Qt installation directory. For example: C:\QtSDK\Examples\4.7\declarative\animation\states. The image appears in the Resources pane. You can also use any other image or a QML element, instead.

    Will appreciate your help.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      It depends whether your Qt comes from the system (highly unlikely otherwise you are running a really really outdated OS) or an installation from source. If the later, you can simply look in the examples folder in Qt's sources.

      On a side note, unless you are locked to 4.7.2, you should really consider to update to at least 4.8.6 or 5.3

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        delanov
        wrote on last edited by
        #3

        [quote author="SGaist" date="1402775591"]Hi and welcome to devnet,

        It depends whether your Qt comes from the system (highly unlikely otherwise you are running a really really outdated OS) or an installation from source. If the later, you can simply look in the examples folder in Qt's sources.

        On a side note, unless you are locked to 4.7.2, you should really consider to update to at least 4.8.6 or 5.3[/quote]

        Thanks for your reply SGaist.

        Yevgenko 22 July 2012 posted the following path:

        /usr/lib/qt4/examples/declarative/animation/states/states.png.

        Using The Gimp and Yevgenko's path I saved the Qt Logo to my Pictures directory.

        Yes my OS is quite out dated (Mint 11 Katya), however I like it and it serves the purpose.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved