Results 1 to 5 of 5

Thread: Qt for WinRT : QFileDialog issue

  1. #1
    Join Date
    Jul 2014
    Posts
    46
    Thanks
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Qt for WinRT : QFileDialog issue

    I am developing an audio editing software for windows Phone 8. When I try to open the file using QFileDialog it takes me to a very different file explorer where I am unable to select anything and open the file. This is what I've been doing.

    Qt Code:
    1. fileName = QFileDialog::getOpenFileName(this,tr("Open File"), tr("Mp3 Files (*.mp3)"));
    To copy to clipboard, switch view to plain text mode 

    Are we supposed to open files in a different way for WinRT?

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt for WinRT : QFileDialog issue

    What do You mean "a very different file explorer" ? From QFileDialog::getOpenFileName doc : On Windows, Mac OS X and Symbian^3, this static function will use the native file dialog and not a QFileDialog.

  3. #3
    Join Date
    Jul 2014
    Posts
    46
    Thanks
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Qt for WinRT : QFileDialog issue

    IMG-20150327-WA0016.jpg

    It gets me to a page like this and then I am unable to do anything except pressing cancel and going back!

  4. #4
    Join Date
    Jul 2014
    Posts
    46
    Thanks
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Qt for WinRT : QFileDialog issue

    Can I get any help?

  5. #5
    Join Date
    May 2010
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Symbian S60

    Default Re: Qt for WinRT : QFileDialog issue

    I think that support for the native WinRT pickers has been added with Qt 5.4 or Qt 5.5. Afaik pickers on Windows Phone are still not supported.

Similar Threads

  1. Issue with QFileDialog
    By baluk in forum Newbie
    Replies: 5
    Last Post: 25th November 2010, 13:47
  2. QFileDialog issue
    By a_m_mukul in forum Qt Programming
    Replies: 2
    Last Post: 15th November 2007, 23:46
  3. QFileDialog Issue
    By vishal.chauhan in forum Qt Programming
    Replies: 2
    Last Post: 15th March 2007, 04:30
  4. QFileDialog Issue
    By vishal.chauhan in forum Qt Programming
    Replies: 1
    Last Post: 14th March 2007, 15:37
  5. QFileDialog Issue
    By vishal.chauhan in forum Qt Programming
    Replies: 2
    Last Post: 28th February 2007, 13:47

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.