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. Can't find the tutorial file state.png
Forum Updated to NodeBB v4.3 + New Features

Can't find the tutorial file state.png

Scheduled Pinned Locked Moved General and Desktop
9 Posts 5 Posters 4.9k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    A Nonny Moose
    wrote on last edited by
    #1

    I am on Linux (UBUNTU 11.04) and I am running the initial tutorial having just installed the package from my distributor. I have searched my root file system and cannot find the file state.png that this tutorial wants.

    I am curious as to whether I have a bad installation, the file has been omitted, renamed or replaced. Advice please. The tutorial seems to be aimed at windows users.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      what turorial are your referring to?

      i found state.png in win7 64bit :
      INSTALLDIR\QtCreator\share\qtcreator\qmlicons\Qt\16x16\

      you could use the sdk installer to get the latest stable version instead.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • A Offline
        A Offline
        A Nonny Moose
        wrote on last edited by
        #3

        Version is 4.7.2 NOT ON WINDOWS. Linux with UBUNTU 11.04. The Tutorial is referenced by Qt creator and the link is How to Create a Quick Qt application.using this link: qthelp://com.nokia.qtcreator/doc/creator-qml-application.html?view=split. I completed the project set up, but it want me to find this file. It specifies the file by name and gives a windows path. Where does the QT4 distribution put such things under UNIX/Linux?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          Did you use Ubuntu's packages to install, or did you install in a different way? In the first case: ask your packager.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            A Nonny Moose
            wrote on last edited by
            #5

            OK. I actually didn't think of them. Thanks.

            1 Reply Last reply
            0
            • Y Offline
              Y Offline
              yevgenko
              wrote on last edited by
              #6

              Found it here:
              -/usr/share/qtcreator/qmlicons/Qt/16x16/State.png- it was a different file, not related to the tutorial, sorry...

              here is correct location:
              /usr/lib/qt4/examples/declarative/animation/states/states.png

              Ubuntu 12.04 with qt4-demos installed

              p.s.
              IMHO must be included into tutorial to prevent any confusion

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

                Use Gimp and save the image to your selected directory.

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

                  Use the following path with Gimp and save to your selected directory.

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

                  Thanks yevgenko for the path.

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

                    The Gimp is not the best way to access and copy the qt4 logo. Using the terminal command line is best:

                    CD to the states directory from / Using the path:
                    usr/lib/qt4/examples/declarative/animation/states

                    Copy the qt4 logo using the copy command (cp) from ( / )

                    cp usr/lib/qt4/examples/declarative/animation/states/states.png (( Insert name of Project folder))

                    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