Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [SOLVED] Reset Examples

[SOLVED] Reset Examples

Scheduled Pinned Locked Moved QML and Qt Quick
7 Posts 3 Posters 2.7k 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.
  • M Offline
    M Offline
    morker
    wrote on last edited by
    #1

    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
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • M Offline
        M Offline
        morker
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          maybe here

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

          ?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            morker
            wrote on last edited by
            #5

            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
            0
            • mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              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
              0
              • A Offline
                A Offline
                andreyc
                wrote on last edited by
                #7

                [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
                0

                • Login

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