Purge default locations from commonly used device makespecs
Including /usr/include and lib can cause cryptic failures if there is already a Qt installed to /usr. Having standard locations listed should not be necessary at all. Change-Id: I08a15a064cc1aec126733f7e1962a2fa2ec38fcb Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
This commit is contained in:
parent
6c20a01cb9
commit
406934a632
@ -36,8 +36,8 @@ QMAKE_CXXFLAGS_RELEASE += -O3
|
||||
QMAKE_LIBS += -lrt -lpthread -ldl
|
||||
|
||||
# Extra stuff (OpenGL, DirectFB, ...)
|
||||
QMAKE_INCDIR_EGL = $$[QT_SYSROOT]/usr/include
|
||||
QMAKE_LIBDIR_EGL = $$[QT_SYSROOT]/usr/lib
|
||||
QMAKE_INCDIR_EGL =
|
||||
QMAKE_LIBDIR_EGL =
|
||||
QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
|
||||
QMAKE_LIBDIR_OPENGL_ES2 = $${QMAKE_LIBDIR_EGL}
|
||||
QMAKE_INCDIR_OPENVG = $${QMAKE_INCDIR_EGL}
|
||||
|
@ -16,15 +16,10 @@
|
||||
|
||||
include(../common/linux_device_pre.conf)
|
||||
|
||||
QMAKE_INCDIR += $$[QT_SYSROOT]/usr/include
|
||||
QMAKE_LIBDIR += $$[QT_SYSROOT]/usr/lib
|
||||
|
||||
QMAKE_LIBS_EGL += -lEGL
|
||||
QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL
|
||||
QMAKE_LIBS_OPENVG += -lOpenVG -lEGL
|
||||
|
||||
QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib
|
||||
|
||||
IMX5_CFLAGS = -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -Wno-psabi
|
||||
QMAKE_CFLAGS += $$IMX5_CFLAGS
|
||||
QMAKE_CXXFLAGS += $$IMX5_CFLAGS
|
||||
|
@ -4,15 +4,10 @@
|
||||
|
||||
include(../common/linux_device_pre.conf)
|
||||
|
||||
QMAKE_INCDIR += $$[QT_SYSROOT]/usr/include
|
||||
QMAKE_LIBDIR += $$[QT_SYSROOT]/usr/lib
|
||||
|
||||
QMAKE_LIBS_EGL += -lEGL
|
||||
QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL -lGAL
|
||||
QMAKE_LIBS_OPENVG += -lOpenVG -lEGL -lGAL
|
||||
|
||||
QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib
|
||||
|
||||
IMX6_CFLAGS = -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1
|
||||
QMAKE_CFLAGS += $$IMX6_CFLAGS
|
||||
QMAKE_CXXFLAGS += $$IMX6_CFLAGS
|
||||
|
Loading…
Reference in New Issue
Block a user