×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2012
    Location
    Hull, United Kingdom
    Posts
    48

    Problems with QML Webview and opeing System File chooser

    I've being looking for a solution for a while now,

    when I click on the choose file button on Facebook for example, it just does nothing, though websites which seem to use jscript uploading like Facebook PC and Youtube PC open the Dialog though, which I found to my surprise from one of my users.

    I have added the qdeclarativewebview plugin to my project from the sources incase it needs it in anyway, I dunno if it's actually taking and effect though.

    I know there is a solution, I've seen it on another App, anyone know the fix and wouldn't mind sharing it ?

    Thanks
    Check out my Symbian, Series 40 Apps on Nokia store !
    http://store.ovi.com/publisher/Allstar%20Software/

  2. #2
    Registered User
    Join Date
    Nov 2011
    Posts
    2

    Re: Problems with QML Webview and opeing System File chooser

    Several months ago I met the same problem.
    I made a few changes on the qdeclarativewebview.h/cpp and registered the class in main.cpp. It worked.
    The key idea is to override the 'chooseFile' function in QDeclarativeWebPage using QFileDialog::getOpenFileName().
    I don't mind sharing the modified files but I don't know how to...

  3. #3
    Registered User
    Join Date
    Jun 2012
    Posts
    39

    Re: Problems with QML Webview and opeing System File chooser

    You have to copy the QtQuickWebKit sources and modify them for your project or try to extend it via a subclass, than you can change/override the function.

    I never tried to, but it should be possible.

  4. #4
    Registered User
    Join Date
    Jun 2012
    Location
    Hull, United Kingdom
    Posts
    48

    Re: Problems with QML Webview and opeing System File chooser

    Quote Originally Posted by yeatse View Post
    Several months ago I met the same problem.
    I made a few changes on the qdeclarativewebview.h/cpp and registered the class in main.cpp. It worked.
    The key idea is to override the 'chooseFile' function in QDeclarativeWebPage using QFileDialog::getOpenFileName().
    I don't mind sharing the modified files but I don't know how to...

    Please check you're forum PM.
    Check out my Symbian, Series 40 Apps on Nokia store !
    http://store.ovi.com/publisher/Allstar%20Software/

Similar Threads

  1. opeing url in mobile broser and going back to application
    By mailtomakwana in forum Symbian C++
    Replies: 2
    Last Post: 2010-03-15, 16:15
  2. Replies: 4
    Last Post: 2010-02-04, 18:04
  3. Folder Chooser
    By LAS__VEGAS in forum Symbian C++
    Replies: 0
    Last Post: 2005-03-22, 08:42
  4. File chooser
    By djazia in forum Symbian User Interface
    Replies: 1
    Last Post: 2002-09-24, 09:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •