|
|
@ -46,12 +46,19 @@ android { |
|
|
|
QT += \ |
|
|
|
|
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android |
|
|
|
NDK_PATH = /home/ali-mehrabani/host-projects/Android/Sdk/ndk/21.0.6113669 |
|
|
|
|
|
|
|
INCLUDEPATH += \ |
|
|
|
# /usr/include/vulkan \ |
|
|
|
$$NDK_PATH/platforms/android-29/arch-arm64/usr/lib/ |
|
|
|
|
|
|
|
LIBS += -landroid -llog |
|
|
|
LIBS += -landroid -llog \ |
|
|
|
-L$$NDK_PATH/platforms/android-29/arch-arm64/usr/lib -lvulkan |
|
|
|
|
|
|
|
DEFINES += VK_USE_PLATFORM_ANDROID_KHR |
|
|
|
DEFINES += \ |
|
|
|
VK_USE_PLATFORM_ANDROID_KHR |
|
|
|
|
|
|
|
# ANDROID_ABIS = arm64-v8a armeabi-v7a |
|
|
|
|
|
|
|
OTHER_FILES += android/src/Vulkan \ |
|
|
|
android/AndroidManifest.xml \ |
|
|
@ -62,12 +69,14 @@ android { |
|
|
|
android/gradlew.bat \ |
|
|
|
android/res/values/libs.xml |
|
|
|
} |
|
|
|
linux64 { |
|
|
|
QT += x11extrass |
|
|
|
linux-g++* { |
|
|
|
QT += x11extras |
|
|
|
|
|
|
|
LIBS += \ |
|
|
|
-lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi \ |
|
|
|
-lvulkan \ |
|
|
|
-lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi -lvulkan \ |
|
|
|
|
|
|
|
DEFINES += \ |
|
|
|
VK_USE_PLATFORM_XCB_KHR |
|
|
|
|
|
|
|
INCLUDEPATH += \ |
|
|
|
/usr/include/vulkan \ |
|
|
|