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. Problem in deploying my application for Android
Forum Updated to NodeBB v4.3 + New Features

Problem in deploying my application for Android

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 1.1k Views 2 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.
  • md2012M Offline
    md2012M Offline
    md2012
    wrote on last edited by A Former User
    #1

    Hello guys
    well i have an almost finished project that i would like to deploy it on android as well.
    so i installed the latest Qt for android and got ndk ,sdk,...
    every thing is fine...but when i want to compile my code i get the message
    " :-1: error: error: unrecognized command line option '-fstack-protector-strong' "
    well got tired of searching internet ,looks like there is something wrong in the compiler side.any idea?

    1 Reply Last reply
    0
    • md2012M Offline
      md2012M Offline
      md2012
      wrote on last edited by
      #2

      here is the libraries that i used for my project.

      #include <QApplication>
      #include <QtSql>
      #include <QMessageBox>
      #include <QMainWindow>
      
      A 1 Reply Last reply
      0
      • md2012M md2012

        here is the libraries that i used for my project.

        #include <QApplication>
        #include <QtSql>
        #include <QMessageBox>
        #include <QMainWindow>
        
        A Offline
        A Offline
        ambershark
        wrote on last edited by
        #3

        @md2012 Can you show us the actual build output? It's pretty hard to figure out what's wrong with a build from a plain error like that.

        Without seeing the output my guess would be that the ARM compiler doesn't support that option so remove it from your build. :)

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mariapetar
          Banned
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • md2012M Offline
            md2012M Offline
            md2012
            wrote on last edited by
            #5

            well the problem was the android api that i used for my sdk ,it was 2.2 changed it to 4.0 and the error was gone.

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved