Testing windeployqt

This commit is contained in:
NissimHadar 2019-04-24 14:42:18 -07:00
parent 2009ce95b2
commit bd40ea057b
2 changed files with 8 additions and 1 deletions

View file

@ -36,6 +36,13 @@ macro(PACKAGE_LIBRARIES_FOR_DEPLOYMENT)
endif () endif ()
# add a post-build command to call windeployqt to copy Qt plugins # add a post-build command to call windeployqt to copy Qt plugins
message("+++++++++++++++++++++++++++++++++++++")
message(STATUS ${TARGET_NAME})
message(STATUS ${QT_DIR})
message(STATUS ${TARGET_FILE})
message(STATUS ${WINDEPLOYQT_COMMAND})
message(STATUS ${EXTRA_DEPLOY_OPTIONS})
message("-------------------------------------")
add_custom_command( add_custom_command(
TARGET ${TARGET_NAME} TARGET ${TARGET_NAME}
POST_BUILD POST_BUILD

View file

@ -240,7 +240,7 @@ endif()
def installQt(self): def installQt(self):
if True or not os.path.isdir(os.path.join(self.path, 'installed', 'qt5-install')): if not os.path.isdir(os.path.join(self.path, 'installed', 'qt5-install')):
print ("Downloading Qt from AWS ") print ("Downloading Qt from AWS ")
dest = os.path.join(self.path, 'installed') dest = os.path.join(self.path, 'installed')
if platform.system() == 'Windows': if platform.system() == 'Windows':