mirror of https://git.wownero.com/dsc/mxe.git
Merge pull request #884 from LuaAndC/qt-and-qtbase-fix-manual-test
qt and qtbase: fix the test built the manual way
This commit is contained in:
commit
11938e5ecb
10
src/qt.mk
10
src/qt.mk
|
@ -106,9 +106,17 @@ define $(PKG)_BUILD
|
|||
# build test the manual way
|
||||
mkdir '$(1)/test-$(PKG)-pkgconfig'
|
||||
'$(PREFIX)/$(TARGET)/qt/bin/uic' -o '$(1)/test-$(PKG)-pkgconfig/ui_qt-test.h' '$(TOP_DIR)/src/qt-test.ui'
|
||||
'$(PREFIX)/$(TARGET)/qt/bin/moc' \
|
||||
-o '$(1)/test-$(PKG)-pkgconfig/moc_qt-test.cpp' \
|
||||
-I'$(1)/test-$(PKG)-pkgconfig' \
|
||||
'$(TOP_DIR)/src/qt-test.hpp'
|
||||
'$(PREFIX)/$(TARGET)/qt/bin/rcc' -name qt-test -o '$(1)/test-$(PKG)-pkgconfig/qrc_qt-test.cpp' '$(TOP_DIR)/src/qt-test.qrc'
|
||||
'$(TARGET)-g++' \
|
||||
-W -Wall -Werror -std=c++0x -pedantic \
|
||||
'$(TOP_DIR)/src/qt-test.cpp' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG)-pkgconfig.exe' \
|
||||
'$(TOP_DIR)/src/qt-test.cpp' \
|
||||
'$(1)/test-$(PKG)-pkgconfig/moc_qt-test.cpp' \
|
||||
'$(1)/test-$(PKG)-pkgconfig/qrc_qt-test.cpp' \
|
||||
-o '$(PREFIX)/$(TARGET)/bin/test-$(PKG)-pkgconfig.exe' \
|
||||
-I'$(1)/test-$(PKG)-pkgconfig' \
|
||||
`'$(TARGET)-pkg-config' QtGui --cflags --libs`
|
||||
|
||||
|
|
|
@ -72,9 +72,17 @@ define $(PKG)_BUILD
|
|||
# build test the manual way
|
||||
mkdir '$(1)/test-$(PKG)-pkgconfig'
|
||||
'$(PREFIX)/$(TARGET)/qt5/bin/uic' -o '$(1)/test-$(PKG)-pkgconfig/ui_qt-test.h' '$(TOP_DIR)/src/qt-test.ui'
|
||||
'$(PREFIX)/$(TARGET)/qt5/bin/moc' \
|
||||
-o '$(1)/test-$(PKG)-pkgconfig/moc_qt-test.cpp' \
|
||||
-I'$(1)/test-$(PKG)-pkgconfig' \
|
||||
'$(TOP_DIR)/src/qt-test.hpp'
|
||||
'$(PREFIX)/$(TARGET)/qt5/bin/rcc' -name qt-test -o '$(1)/test-$(PKG)-pkgconfig/qrc_qt-test.cpp' '$(TOP_DIR)/src/qt-test.qrc'
|
||||
'$(TARGET)-g++' \
|
||||
-W -Wall -Werror -std=c++0x -pedantic \
|
||||
'$(TOP_DIR)/src/qt-test.cpp' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG)-pkgconfig.exe' \
|
||||
'$(TOP_DIR)/src/qt-test.cpp' \
|
||||
'$(1)/test-$(PKG)-pkgconfig/moc_qt-test.cpp' \
|
||||
'$(1)/test-$(PKG)-pkgconfig/qrc_qt-test.cpp' \
|
||||
-o '$(PREFIX)/$(TARGET)/bin/test-$(PKG)-pkgconfig.exe' \
|
||||
-I'$(1)/test-$(PKG)-pkgconfig' \
|
||||
`'$(TARGET)-pkg-config' Qt5Widgets --cflags --libs`
|
||||
|
||||
|
|
Loading…
Reference in New Issue