# INCLUDEPATH += $$_PRO_FILE_PWD_/occt/inc $$_PRO_FILE_PWD_/3rdparty/include DEPENDPATH += $$_PRO_FILE_PWD_/occt/inc $$_PRO_FILE_PWD_/3rdparty/include DEFINES += OCC_CONVERT_SIGNALS CONFIG(debug,debug|release) { DEFINES += DEB } occt_lib_subpath = libs/armeabi-v7a occt_lib_path = $$_PRO_FILE_PWD_/occt/$$occt_lib_subpath 3rdparty_lib_path = $$_PRO_FILE_PWD_/3rdparty/$$occt_lib_subpath android { QMAKE_CFLAGS += -fexceptions -Wno-ignored-qualifiers QMAKE_CXXFLAGS += -fexceptions -Wno-ignored-qualifiers LIBS += -L$$occt_lib_path -lEGL } win32 { QMAKE_CXXFLAGS_WARN_ON += -W4 INCLUDEPATH += $$(CSF_OCCTIncludePath) LIBS += -L$(CSF_OCCTLibPath);$(CSF_PRODLibPath) LIBS += -lopengl32 } LIBS += -lTKernel \ -lTKMath \ -lTKG2d \ -lTKG3d \ -lTKGeomBase \ -lTKBRep \ -lTKGeomAlgo \ -lTKTopAlgo \ -lTKShHealing \ -lTKService \ -lTKMesh \ -lTKHLR \ -lTKV3d \ -lTKOpenGles # IMPORTANT. load libraries in a proper order ANDROID_EXTRA_LIBS = $$3rdparty_lib_path/libfreeimage.so \ $$3rdparty_lib_path/libfreetype.so \ $$occt_lib_path/libTKernel.so \ $$occt_lib_path/libTKMath.so \ $$occt_lib_path/libTKG2d.so \ $$occt_lib_path/libTKG3d.so \ $$occt_lib_path/libTKGeomBase.so \ $$occt_lib_path/libTKBRep.so \ $$occt_lib_path/libTKGeomAlgo.so \ $$occt_lib_path/libTKTopAlgo.so \ $$occt_lib_path/libTKShHealing.so \ $$occt_lib_path/libTKService.so \ $$occt_lib_path/libTKMesh.so \ $$occt_lib_path/libTKHLR.so \ $$occt_lib_path/libTKV3d.so \ $$occt_lib_path/libTKOpenGles.so