android


Qt Android Error: arm-linux-androideabi-g++: error: unrecognized command line option '-fstack-protector-strong'


I have an error while building android application with newly installed Qt 5.8.0 for Android in Windows 10
This is my compile output:
11:06:25: Running steps for project untitled5...
11:06:26: Starting: "C:\Qt\Qt5.8.0_Android\5.8\android_armv7\bin\qmake.exe" C:\Users\mir.moezi\Documents\untitled5\untitled5.pro -spec android-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
11:06:28: The process "C:\Qt\Qt5.8.0_Android\5.8\android_armv7\bin\qmake.exe" exited normally.
11:06:29: Starting: "C:\Qt\Qt5.8.0_Android\Tools\mingw530_32\bin\mingw32-make.exe" qmake_all
mingw32-make: Nothing to be done for 'qmake_all'.
11:06:31: The process "C:\Qt\Qt5.8.0_Android\Tools\mingw530_32\bin\mingw32-make.exe" exited normally.
11:06:31: Starting: "C:\Qt\Qt5.8.0_Android\Tools\mingw530_32\bin\mingw32-make.exe"
C:\Qt\Qt5.8.0_Android\5.8\android_armv7\bin\uic.exe ..\untitled5\mainwindow.ui -o ui_mainwindow.h
C:\Qt\Android\android-ndk-r10/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=C:\Qt\Android\android-ndk-r10/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I..\untitled5 -I. -I..\..\..\..\Qt\Qt5.8.0_Android\5.8\android_armv7\include -I..\..\..\..\Qt\Qt5.8.0_Android\5.8\android_armv7\include\QtWidgets -I..\..\..\..\Qt\Qt5.8.0_Android\5.8\android_armv7\include\QtGui -I..\..\..\..\Qt\Qt5.8.0_Android\5.8\android_armv7\include\QtCore -I. -I. -I..\..\..\..\Qt\Android\android-ndk-r10\sources\cxx-stl\gnu-libstdc++\4.8\include -I..\..\..\..\Qt\Android\android-ndk-r10\sources\cxx-stl\gnu-libstdc++\4.8\libs\armeabi-v7a\include -I..\..\..\..\Qt\Android\android-ndk-r10\platforms\android-16\arch-arm\usr\include -I..\..\..\..\Qt\Qt5.8.0_Android\5.8\android_armv7\mkspecs\android-g++ -o main.obj ..\untitled5\main.cpp
arm-linux-androideabi-g++: error: unrecognized command line option '-fstack-protector-strong'
Makefile:1291: recipe for target 'main.obj' failed
mingw32-make: *** [main.obj] Error 1
11:06:33: The process "C:\Qt\Qt5.8.0_Android\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project untitled5 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.8.0))
When executing step "Make"
11:06:33: Elapsed time: 00:08.
Please help me to solve this error!
Here is my packages installed :
qt-opensource-windows-x86-android-5.8.0
JDK.7.Update.80.x64
apache-ant-1.10.1-bin
Android-NDK32-r10-windows-x86_64
Android.SDK.Release.v24.4.1.Windowsinstaller_r24.4.1-windows
what is '-fstack-protector-strong' ?
I think this prevents Qt Creator from continuing !
Can anyone answer my question?
Thanks !

Related Links

how to get video thumbnail of youtube video in android list in android [duplicate]
How to Getting Images from Sdcard's folder's Subfolder?
How to solve the Google map view in android? When i tried this program i got the following error
Issue with parsing big xml files in Android
how to convert string to file path(sdcard path)? android
How to download a folder from FTP server
How can get how many apps installed in my device and there names or last accessed information?
how do I check image size in android while uploading from phone gallery?
Using Eclipse indigo custom button makes button dissapear
How to Get the Next and previous list items from a listview in android
ActionBar implementation
how to use dialerkeylistener in android
Getting appropriate touch event on multiple sprite in game using andengine
DownloadManager Import Error
Displaying tree structure (parent-child nodes) in android app
Piracy, piracy, piracy. What can I do?

Categories

HOME
oracle12c
paraview
string
apache-flink
apache-jena
gpu
rsa
camera
graphics
static-site
cq5
parameters
vxml
google-admin-sdk
pattern-matching
openpyxl
redis-sentinel
altera
capistrano3
modbus-tcp
mapstruct
jmp
delphi-xe5
oledb
drive
r-mice
aggregation
jquery-callback
direct3d11
google-cloud-print
motion-detection
postback
quickfixj
glib
git-squash
card.io
activexobject
numpy-broadcasting
apiary.io
salesforce-communities
sql-server-ce
connection-pool
apns-php
gdata
skylink
portforwarding
oracle-service-bus
angular-http
berkeley-db-je
procfile
ovf
zenhub
scalding
video-conferencing
compiler-design
dt
pocketsphinx-android
node-request
flex-monkey
hadoop-2.7.2
parfor
file-uri
respondcms
contentcontrol
jnlua
linklabel
r-package
pax-exam
finalbuilder
avahi
google-refine
zend-currency
public-html
infosphere-spl
showdialog
human-computer-interface
universal-image-loader
trdion2011
lambda-architecture
lnk
mutual-authentication
fpdi
maven-scm
square-bracket
synapse
clickbank
sbcl
multitasking
windows-embedded-standard
android-usb
spring-3
mysql-error-1044
insert-id
tree-balancing
isa-swizzling
node-redis
metaweblog
office-2007
skype4java

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App