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. Formatting New Linux Filesystems Using Qt

Formatting New Linux Filesystems Using Qt

Scheduled Pinned Locked Moved General and Desktop
17 Posts 6 Posters 8.1k 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.
  • J Offline
    J Offline
    jim_kaiser
    wrote on last edited by
    #4

    @mario:

    Of course, there would already be an app doing it using Qt :).. Just a comment, the sourceforge link opens up, but not the link to a forum thread in the link (http://developer.qt.nokia.com/forums/viewthread/6762/QtParted).

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

      Fixed the link but it I'm not sure what happened, it look ok.

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        ZapB
        wrote on last edited by
        #6

        You could also call the usual command line applications mkfs.* via QProcess.

        Nokia Certified Qt Specialist
        Interested in hearing about Qt related work

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mario
          wrote on last edited by
          #7

          ZapB: Probably the simplest!

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            zester
            wrote on last edited by
            #8

            Or you could just take the same approach that the above mentioned applications took and use libparted directly.

            Here is a tutorial for libparted Note: example's may need to be justed to fit the current api.

            LibParted Handbook "Note: LibParted is a library used to create, destroy, resize and copy PC disk partitions"
            http://zester.googlecode.com/files/libparted_handbook.pdf

            Here is the libparted API reference

            http://www.gnu.org/software/parted/api/

            And if you want to work directly with just CD/DVD drives

            http://libburnia-project.org/

            Libburn

            http://api.libburnia-project.org/libburn

            Libisofs

            http://api.libburnia-project.org/libisofs

            Libisoburn

            http://api.libburnia-project.org/libisoburn

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kemra102
              wrote on last edited by
              #9

              Some great replies, thanks for the informationall, gives me plenty to be looking at :-)

              1 Reply Last reply
              0
              • Z Offline
                Z Offline
                zester
                wrote on last edited by
                #10

                I forgot to mention that libparted is a bit on the lowlevel side so for getting disk information you might want to
                use QtMobility http://doc.qt.nokia.com/qtmobility-1.1.3/systeminfo.html with libparted. If thats the approach
                that you decide to take.

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  jim_kaiser
                  wrote on last edited by
                  #11

                  @zester

                  Hmm.. But mobility classes are only for mobile platforms?

                  1 Reply Last reply
                  0
                  • Z Offline
                    Z Offline
                    ZapB
                    wrote on last edited by
                    #12

                    Nope. QtMobility has some features for all platforms mobile and desktop.

                    Nokia Certified Qt Specialist
                    Interested in hearing about Qt related work

                    1 Reply Last reply
                    0
                    • Z Offline
                      Z Offline
                      zester
                      wrote on last edited by
                      #13

                      No you can use them on a regular desktop also. There are some classes/functions that might not make sense for the desktop like the tilt sensor API but it might be relevant for a tablet.

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

                        @ZapB

                        bq. QtMobility has some features for all platforms mobile and desktop.
                        I didn't know that because i'm on desktop only until now. That's good news.

                        Is there a web page/link where we can see a list of the goodies available for desktop?
                        Or how can we determine (without prior qtmobility knowledge) which ones are accesible for desktop?

                        Qt Certified Specialist
                        www.edalsolutions.be

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          jim_kaiser
                          wrote on last edited by
                          #15

                          One could use the
                          @
                          QFSFileEngine::drives ()
                          or
                          QDir::drives ()
                          @

                          I'm not sure how much of mobility is supported on the desktop. It is still quite early for that kind of support. I may be wrong though. But, for example, the Camera API doesn't use the webcam on desktop.

                          1 Reply Last reply
                          0
                          • Z Offline
                            Z Offline
                            zester
                            wrote on last edited by
                            #16

                            bq. But, for example, the Camera API doesn’t use the webcam on desktop.

                            Actually you just might be wrong there I do know that the QtMobility Multimedia Library has been moved to
                            to Qt 4.8 I think and if I am not mistaken there is a webcam api in there. I will have to test that on my system.

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              jim_kaiser
                              wrote on last edited by
                              #17

                              bq. Actually you just might be wrong there I do know that the QtMobility Multimedia Library has been moved to
                              to Qt 4.8 I think and if I am not mistaken there is a webcam api in there. I will have to test that on my system.

                              In that case.. my bad, still with 4.7.3/4 here :P, working on the official SDK 1.1 for deploying to OVI store.

                              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