Results 1 to 10 of 10

Thread: Associating file extensions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 127 Times in 121 Posts

    Default Re: Associating file extensions

    I thought it could have...
    I find a static functions in QSettings that was called : registerFormat()
    It sounded nice but it finally appeared to be a way to create another setting storage format (the built-in ones being INI, system registery under win, and some xml stuff under mac).
    I am very disappointed that there are no nice way to do it under Qt and I agree with you, this is not the right place : move it to c++ programming...
    Current Qt projects : QCodeEdit, RotiDeCode

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Associating file extensions

    I meant more that it is not the right site to ask that question. Nupul already asked something simmilar here (you can find his posts about it) and did not come to any obvious solutions. Each window manager (or maybe desktop manager, I don't know) has its own system for keeping those associations.

  3. #3
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 127 Times in 121 Posts

    Default Re: Associating file extensions

    Two obvious facts :
    - Window$ provides some way to do that but the only apps I found providing a run-time file association dialog (that would need such a facility) weren't Open Source...
    - KDE and Gnome are Open Source and the file association code could be borrowed if portable but I don't feel like browsing megs of source code and linking to KDE or Gnome libs is unacceptable for a cross-platform and lightweight project...

    Current Qt projects : QCodeEdit, RotiDeCode

Similar Threads

  1. Can you specify a file engine?
    By skimber in forum Qt Programming
    Replies: 2
    Last Post: 18th September 2008, 16:54
  2. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 07:51
  3. file renaming on windows
    By jdd81 in forum Qt Programming
    Replies: 9
    Last Post: 2nd October 2007, 20:41
  4. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 16:21
  5. Associating icon with a file type
    By munna in forum Qt Programming
    Replies: 3
    Last Post: 6th June 2006, 17:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.