Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to deal the following qt warning?
Qt 6.11 is out! See what's new in the release blog

How to deal the following qt warning?

Scheduled Pinned Locked Moved General and Desktop
12 Posts 4 Posters 11.2k 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.
  • raven-worxR Offline
    raven-worxR Offline
    raven-worx
    Moderators
    wrote on last edited by
    #2

    make sure your application finds the plugins from <QTDIR>/plugins/accessible
    For Qt5 it's <QTDIR>/qtbase/plugins/accessible

    When you don't use accessibility features you can ignore the warning.

    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
    If you have a question please use the forum so others can benefit from the solution in the future

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lygstate
      wrote on last edited by
      #3

      how deploy with accessibility plugins. where si the documents?

      1 Reply Last reply
      0
      • raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #4

        what do you mean?

        I already pointed out where you can find the plugins. The deployment is the same like for all other plugins.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lygstate
          wrote on last edited by
          #5

          @#ifndef SCADE_WINDOW_H
          #define SCADE_WINDOW_H

          #include <stdint.h>

          #include <QWindow>
          #include <QElapsedTimer>

          class QOpenGLContext;
          class ScadeWindow : public QWindow
          {
          Q_OBJECT
          public:
          explicit ScadeWindow(const QSurfaceFormat&, QWindow *parent = NULL);
          private:
          void initializeGL();
          void render();

          signals:
          public slots:
          void resizeGL();
          void updateGL();

          protected:
          bool event(QEvent *event);
          void exposeEvent(QExposeEvent *);

          private:
          QOpenGLContext* m_context;
          QElapsedTimer m_time;
          uint64_t frameCount;
          };

          #endif // SCADE_WINDOW_H
          @

          I've implemented a customize QWindow, and I don't want to see the warning I stated before, how to avoid that? because there is no documents about accessibility

          1 Reply Last reply
          0
          • L Offline
            L Offline
            lygstate
            wrote on last edited by
            #6

            I don't know what's happened, I was using Qt 5.1.1 (OpenGL/vs2010/x86) version installed on C:\Qt\Qt5.1.1\5.1.1\msvc2010_opengl

            I found the plugin you stated at
            C:\Qt\Qt5.1.1\5.1.1\msvc2010_opengl\plugins\accessible
            and I copied those dll files to the
            C:\Qt\Qt5.1.1\5.1.1\msvc2010_opengl\bin
            and also copied those dll files to the directory that contained my generated exe file. but the warning still showed up.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #7

              The "windows deployment guide":https://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html is what you need for application deployment

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • L Offline
                L Offline
                lygstate
                wrote on last edited by
                #8

                I am sorry about all that, indeed I didn't load qtaccessiblequick.dll nor qtaccessiblewidgets.dll, but just implement a ScadeWindow and use it, then the build app give me the following warning:
                @
                Problem creating accessible interface for: ScadeWindow(0×7924fc0)
                Make sure to deploy Qt with accessibility plugins.
                @

                I want to know how to remove this warning by not using the two plugin I mentioned before, or that's just can not be resolved?

                1 Reply Last reply
                0
                • raven-worxR Offline
                  raven-worxR Offline
                  raven-worx
                  Moderators
                  wrote on last edited by
                  #9

                  taken from the deployment guide posted by SGaist:
                  [quote]
                  In contrast to user plugins, Qt plugins have to be put into subdirectories matching the plugin type. As we want to deploy the windows platform plugin it has to be put into a "platforms" subdirectory. Additional information about user and Qt plugins will be covered later.
                  [/quote]

                  you can also set a "custom path":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-plugins.html#the-plugin-directory where Qt should look for the plugins (preserving the subfolders to be the same like in <QTDIR>/qtbase/plugins)

                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                  If you have a question please use the forum so others can benefit from the solution in the future

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    NicuPopescu
                    wrote on last edited by
                    #10

                    hope "this":http://www.qtcentre.org/threads/56417-Problem-creating-accessible-interface will help a little

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      lygstate
                      wrote on last edited by
                      #11

                      [quote author="NicuPopescu" date="1381929879"]hope "this":http://www.qtcentre.org/threads/56417-Problem-creating-accessible-interface will help a little[/quote]
                      That's good. and looks like this answer:

                      [quote author="Chris Kawa" date="1357386479"]Btw. Lukas - can you create sticky threads?
                      Threads like "can't run from cmd" or "work's fine in creator but not on other machines" about the proper deployment on windows seem to flood this forum lately so maybe it would be beneficial to create a sticky thread with a simple "what you need" for each compiler eg. for MSVC:
                      AppDir/App.exe
                      AppDir/Qt5Core.dll
                      AppDir/Qr5Gui.dll
                      ...
                      AppDir/platforms/qwindows.dll
                      ...
                      AppDir/imagefomats/qgif.dll
                      ...
                      AppDir/sqldrivers/qsqlite.dll
                      ...

                      • install MSVC runtime package

                      What do you think?[/quote]

                      but the bad thing is that doesn't work for me, sad.

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        lygstate
                        wrote on last edited by
                        #12

                        By the way, it's worth to telling the detail of deploy Qt plugins in documents "Qt Windows deployments":https://qt-project.org/doc/qt-5.1/qtdoc/deployment-windows.html

                        For Qt 5.1.1/Windows, the Qt plugins directory is placed at
                        C:\Qt\Qt5.1.1\5.1.1\msvc2010_opengl\plugins

                        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