[SOLVED] Qt Installed Directory????
-
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.
-
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 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.