##genQtPro.py
import os,sys,re
import shutil,string
# [OK]
# global var for app
# calc the baseLen, we should add the divator char '/' or '\'
gBaseLen = len(os.getcwd()) + 1
gSrcList = "SOURCES += \\" + "\n"
gHeadList = "HEADERS += \\" + "\n"
gUiList = "FORMS += \\" + "\n"
gTarget = "Test"
argLen = len(sys.argv)
if argLen >= 2:
gTarget = sys.argv[1]
if gTarget.find('.') != -1:
gTarget = gTarget.split('.',1)[0]
###################################################################################################
# define the blakc list,which we ignore (dirname) [OK]
###################################################################################################
bUseWhite = False
gRangeList = ["debug"