PIQtUtils lang fix
This commit is contained in:
@@ -923,6 +923,9 @@ macro(qad_install_lang _NAME)
|
||||
string(SUBSTRING "${_libname}" 0 ${_sl} _libname)
|
||||
string(REPLACE "::" "_" _libname "${_libname}")
|
||||
string(TOLOWER "${_libname}" _libname )
|
||||
if ("${_libname}" STREQUAL "qad_piqtutils")
|
||||
set(_libname "qad_piqt_utils")
|
||||
endif()
|
||||
#message("imp lib \"${_libname}\"")
|
||||
list(APPEND _qt_libs ${_libname})
|
||||
endif()
|
||||
@@ -932,6 +935,7 @@ macro(qad_install_lang _NAME)
|
||||
list(APPEND _qt_libs "qtbase")
|
||||
foreach (_i ${${PROJECT_NAME}_LANG})
|
||||
foreach (_l ${_qt_libs})
|
||||
#message("lib = \"${_l}\"")
|
||||
unset(_qm_path CACHE)
|
||||
find_file(_qm_path "${_l}_${_i}.qm" PATHS "${Qt${_v}_LANG_DIR}" ${_PATHS} NO_DEFAULT_PATH)
|
||||
if (EXISTS "${_qm_path}")
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
lupdate ../ -ts piqt_utils_ru.ts
|
||||
lupdate ../ -ts piqt_utils_en.ts
|
||||
lupdate ../ -ts qad_piqt_utils_ru.ts
|
||||
lupdate ../ -ts qad_piqt_utils_en.ts
|
||||
|
||||
@@ -46,6 +46,8 @@ public:
|
||||
|
||||
QSqlQuery & query() { return q; }
|
||||
|
||||
bool exec() { return q.exec(); }
|
||||
|
||||
static Result exec(QString query_, QVariantMap params = QVariantMap(), QSqlDatabase db = QSqlDatabase());
|
||||
|
||||
/// INSERT INTO <table> (<values.keys>) VALUES (<values.values>)
|
||||
|
||||
Reference in New Issue
Block a user