Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Unknown Module androidextras when building under Windows
Forum Updated to NodeBB v4.3 + New Features

Unknown Module androidextras when building under Windows

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 410 Views
  • 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.
  • J Offline
    J Offline
    JHanuja
    wrote on last edited by
    #1

    Re: Project ERROR: Unknown module(s) in QT: macextras

    Hi,

    I am working on an application which should run on Windows/Linux/Android.

    In my .pro File I included androidextras.

    I have a c++ file where I am including with:

    #include <QtAndroidExtras>

    Now I have the problem that when I am building under Windows it says

    UnknownModules in QT: androidextras

    Any idea how to solve this?

    eyllanescE 1 Reply Last reply
    0
    • J JHanuja

      Re: Project ERROR: Unknown module(s) in QT: macextras

      Hi,

      I am working on an application which should run on Windows/Linux/Android.

      In my .pro File I included androidextras.

      I have a c++ file where I am including with:

      #include <QtAndroidExtras>

      Now I have the problem that when I am building under Windows it says

      UnknownModules in QT: androidextras

      Any idea how to solve this?

      eyllanescE Offline
      eyllanescE Offline
      eyllanesc
      wrote on last edited by eyllanesc
      #2

      @JHanuja Use in .pro

      android {
          QT += androidextras
      }
      

      And in the .h and .cpp you use you must use:

      #ifdef Q_OS_ANDROID
          #include <QtAndroidExtras>
      #else
          // other includes
      #endif
      

      If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

      1 Reply Last reply
      1
      • J Offline
        J Offline
        JHanuja
        wrote on last edited by
        #3

        Ok thanks that worked.

        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