Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    [SOLVED] Reset Examples

    QML and Qt Quick
    3
    7
    1956
    Loading More Posts
    • 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.
    • M
      morker last edited by

      Hi,

      is there a way to reset a example? I was looking throw the "qabstractitemmodel" example and edited the code... the problem is everytime if I open the example with qt creator again I can see my changes.

      How can I reset the example?

      Cheers,
      Josef

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        well as far as i know the examples are just normal projects on the hard drive and if you change a file and save then there is no turning back.

        Except of cause to re-install :)

        1 Reply Last reply Reply Quote 0
        • M
          morker last edited by

          damm... I didn't find a way to download a example? Just to open it via qt creator

          1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion last edited by

            maybe here

            https://qt.gitorious.org/qt/qtbase/source/3fed060b94ff04131de603d4d668ae7853e50a53:examples

            ?

            1 Reply Last reply Reply Quote 0
            • M
              morker last edited by

              nope ;-(

              in my project folder I can find the example under:

              C:\Qt\Examples\Qt-5.3\quick\models\abstractitemmodel

              Is there another repo where I can find it maybe?

              Thanks
              Josef

              1 Reply Last reply Reply Quote 0
              • mrjj
                mrjj Lifetime Qt Champion last edited by

                Sorry , pretty new here so I do not know.

                But if you are on windows, why not just download the installer and see if you can install only samples?

                1 Reply Last reply Reply Quote 0
                • A
                  andreyc last edited by

                  [quote author="morker" date="1412863142"]Is there another repo where I can find it maybe? [/quote]

                  Yes, if you go to the link that mrjj sent then you can select "Qt root repo":https://qt.gitorious.org/qt and from there you can find "QtDeclarative sub-repo":https://qt.gitorious.org/qt/qtdeclarative/source/5a9f0131f8c0b7424a4d323b0f65237206be45ea: which contains your "example":https://qt.gitorious.org/qt/qtdeclarative/source/5a9f0131f8c0b7424a4d323b0f65237206be45ea:examples/quick/models/abstractitemmodel

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post