Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Can Qt achieve a kiosk-like mode that does not display any error message windows (except for crashes and hardware errors) without using various APIs to capture error messages?
Forum Updated to NodeBB v4.3 + New Features

Can Qt achieve a kiosk-like mode that does not display any error message windows (except for crashes and hardware errors) without using various APIs to capture error messages?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 3 Posters 433 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.
  • V Offline
    V Offline
    VanceWang
    wrote on last edited by VanceWang
    #1

    Hello esteemed experts,

    Is it possible to use Qt to achieve a kiosk-like mode where no error message windows are displayed (except for crashes and hardware errors), without relying on QMessageBox, QDebug, or other Win32 Message APIs?

    I am currently researching the development of touch software using Qt based on windows operation system

    One of the requirements is to achieve functionality similar to Windows' kiosk mode, where no error message windows (except for crashes and hardware errors) are displayed or popped up regardless of what errors the software encounters.

    Based on the information I've gathered and the tests I've conducted so far, it seems possible but not entirely certain.

    Vance Wang

    1 Reply Last reply
    0
    • Paul ColbyP Offline
      Paul ColbyP Offline
      Paul Colby
      wrote on last edited by Paul Colby
      #2

      Hi @VanceWang

      Is it possible ... where no error message windows are displayed (except for crashes and hardware errors), without relying on QMessageBox, QDebug, or other Win32 Message APIs?

      Yes. I have written such kiosk apps previously. All you need to do in install your own message handler via qInstallMessageHandler(). Then your handler can do whatever you like with the messages, eg log to a file, write to a ring buffer and display on a debug/diagnostic tab, show on an status bar, etc

      Of course there will still be the occasional message, such as from the OS itself, but that will catch the vast majority.

      Cheers.

      1 Reply Last reply
      2
      • V Offline
        V Offline
        VanceWang
        wrote on last edited by VanceWang
        #3

        Hi @Paul-Colby,

        It's glad to hear that. Very appreciate.

        But I have another question need your help

        I already installed visual studio 2022, the latest version Qt and Qt creator and UWP x64 (MSVC 2019) components.
        But I can't choose and don't know how to set the Qt for UWP 64bit (MSVC 2019) compiler when I create a Qt Widgets Application

        I am wondering confirm more details about kiosk apps with Qt :

        1. How do I install & set the UWP 64bit (MSVC 2019) compiler correctly to make it enable to be selected ????
        2. you also written and run a kiosk apps on windows operation system ???
        3. What's your Qt & Qt creator version ?
        4. What's the visual studio 20xx version you install ?? (ex: 2019 or 2017...)
        5. You develop a UWP project with Qt or a Qt general project and convert it into .msix or .appx bundle with visual studio 20xx???
        6. Do you have any available social media or contact information so that I can ask you in private ???
        jsulmJ 1 Reply Last reply
        0
        • V VanceWang

          Hi @Paul-Colby,

          It's glad to hear that. Very appreciate.

          But I have another question need your help

          I already installed visual studio 2022, the latest version Qt and Qt creator and UWP x64 (MSVC 2019) components.
          But I can't choose and don't know how to set the Qt for UWP 64bit (MSVC 2019) compiler when I create a Qt Widgets Application

          I am wondering confirm more details about kiosk apps with Qt :

          1. How do I install & set the UWP 64bit (MSVC 2019) compiler correctly to make it enable to be selected ????
          2. you also written and run a kiosk apps on windows operation system ???
          3. What's your Qt & Qt creator version ?
          4. What's the visual studio 20xx version you install ?? (ex: 2019 or 2017...)
          5. You develop a UWP project with Qt or a Qt general project and convert it into .msix or .appx bundle with visual studio 20xx???
          6. Do you have any available social media or contact information so that I can ask you in private ???
          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @VanceWang said in Can Qt achieve a kiosk-like mode that does not display any error message windows (except for crashes and hardware errors) without using various APIs to capture error messages?:

          I already installed visual studio 2022

          Including UWP support (see https://learn.microsoft.com/en-us/windows/uwp/cpp-and-winrt-apis/intro-to-using-cpp-with-winrt#visual-studio-support-for-cwinrt-xaml-the-vsix-extension-and-the-nuget-package)?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • V Offline
            V Offline
            VanceWang
            wrote on last edited by
            #5

            @jsulm ,

            Thanks for your information, really apprecite.

            But I prefer to use Qt to develop UWP app directly instead of using Visual Studio 20xx.....
            I do lots of research and test with Qt, It still can't work.
            So I look for help to solve this problem

            jsulmJ 1 Reply Last reply
            0
            • V VanceWang

              @jsulm ,

              Thanks for your information, really apprecite.

              But I prefer to use Qt to develop UWP app directly instead of using Visual Studio 20xx.....
              I do lots of research and test with Qt, It still can't work.
              So I look for help to solve this problem

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @VanceWang said in Can Qt achieve a kiosk-like mode that does not display any error message windows (except for crashes and hardware errors) without using various APIs to capture error messages?:

              But I prefer to use Qt to develop UWP app directly instead of using Visual Studio 20xx.....

              That is already clear.
              "It still can't work" - that is why I gave you a link explaining what needs to be installed (default Visual Studio installation is not necessarily enough) - did you check it?!
              And "It still can't work" is not a proper problem description...

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • V Offline
                V Offline
                VanceWang
                wrote on last edited by
                #7

                @jsulm ,

                Got it,
                I will check it first
                Very Appreciate your help

                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