Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83997

Can't deploy a simple console application

XMLWordPrintable

    • Android
    • 147e6281c (dev), a9c8870b5 (dev), 6e09b6481 (6.4), bb01e0bc0 (6.5), 47e5e4c9f (tqtc/lts-6.2), 2b966fe7a (tqtc/lts-5.15), 92746da86 (6.4), d670ce853 (6.5), 5d2c0991e (tqtc/lts-5.15), da273fed3 (tqtc/lts-6.2)
    • 2023wk10FOQtforAndroid

      Create a "Qt Console Application" using QtCreator (4.12.0) wizard.
      Try to build and deploy on an Android device.

      You'll get the error:

      No platform plugin, neither libqtforandroid.so or libqtforandroidGL.so, included in package. Please include one.
      

      With QtCreator 4.8.0 and Qt 5.12, this used to work.

      Note that compilation log window reports:

      Skipping plugins/platforms/libplugins_platforms_qtforandroid_armeabi-v7a.so due to unmet dependencies: lib/libQt5Gui_armeabi-v7a.so
      

      Adding Qt += gui in pro file fixes the issue, but one may want to deploy an app without QtGui in it.

      Any workaround would be appriated.

        1. SampleService.7z
          53 kB
          Przemyslaw Nogaj
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            assam Assam Boudjelthia
            jpo38 Jean Porcherot
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Rami Potinkara Rami Potinkara
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: