Skip to content

Commit

Permalink
Another buildfix for Qt, linking issue.
Browse files Browse the repository at this point in the history
This is a bit of a hack, but it resolves the linking issue that only
seems to happen in the Qt build system.
  • Loading branch information
unknownbrackets committed May 1, 2016
1 parent 994d2dd commit c30287c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Qt/GPU.pro
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ SOURCES += $$P/GPU/GeDisasm.cpp \ # GPU
$$P/GPU/Common/SplineCommon.cpp \
$$P/GPU/Common/DrawEngineCommon.cpp \
$$P/ext/xxhash.c \ # xxHash
$$P/ext/xbrz/*.cpp # XBRZ
$$P/ext/xbrz/*.cpp \ # XBRZ
$$P/Core/TextureReplacer.cpp # Bit of a hack. Avoids a linking issue.

armv7: SOURCES += $$P/GPU/Common/TextureDecoderNEON.cpp

Expand Down
5 changes: 5 additions & 0 deletions Qt/Settings.pri
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ win32-msvc* {
QMAKE_ALLFLAGS_RELEASE += -O3 -ffast-math
}

symbian {
# Silence a common warning in system headers.
QMAKE_CXXFLAGS += -Wno-address
}

contains(QT_CONFIG, opengles.) {
DEFINES += USING_GLES2
# How else do we know if the environment prefers windows?
Expand Down

0 comments on commit c30287c

Please sign in to comment.