Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25028

Webassembly run config: browser stuck at "safari"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.13.3
    • macOS 10.14.6 with Firefox, Chrome & Safari browsers installed
    • macOS, WebAssembly
    • 0bbc465f61 (qt-creator/qt-creator/master) 0bbc465f61 (qt-creator/qt-creator/qmlprojectstorage)

      After creating a new project with the Qt 5.15.1 WebAssembly kit, the web browser selector in the run settings is fixed at its single entry "safari", providing no alternative options regardless of what other browsers may be installed and what the system browser preference is set to.

      My current workaround is to manually edit the WASM.WebBrowserSelectionAspect.Browser entry in the .pro.user file. Setting it to an empty string restores the earlier QtCreator behavior of using the system's preferred browser.

      Needless to say, being able to test a WebAssembly project on browsers other than Safari is rather essential for development. Unless & until QtCreator is able to correctly populate its web browser selector with all installed browsers, it would be preferable if this would default to an empty string (which invokes the system's default browser) rather than "safari".

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            portale Alessandro Portale
            linoleo Lino Schraudolph
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes