[Solved] Qt 5.4.1 for AM335x
-
What is the value of $TARGET ?
-
And the value of $QTMKSPECDIR ?
-
IIRC, you should rather set the common C and CXX flags in QMAKE_CFLAGS and QMAKE_CXXFLAGS rather than in the release configuration only.
Something like:
COMPILER_FLAGS = -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp QMAKE_CFLAGS += $${COMPILER_FLAGS} QMAKE_CXXFLAGS += $${COMPILER_FLAGS} QMAKE_CFLAGS_RELEASE += -O3
-
@SGaist said:
IIRC, you should rather set the common C and CXX flags in QMAKE_CFLAGS and QMAKE_CXXFLAGS rather than in the release configuration only.
Something like:
COMPILER_FLAGS = -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp QMAKE_CFLAGS += $${COMPILER_FLAGS} QMAKE_CXXFLAGS += $${COMPILER_FLAGS} QMAKE_CFLAGS_RELEASE += -O3
This worked!
Thank you very much!!
-
You're welcome !
Don't forget to mark the thread as solved (in the Topic Tools Button)
Happy coding !
-
Figured it out.
The 'mark as solved' option is there for people with admin rights, as the functionality relies on the admin 'rename post' function.For a thread OP to mark a post, he/she needs to add [solved] to the title.
I'll take a look at the plugin that adds the thread tool option to see if it could work with normal OP rights too.