浏览代码

Added controlled conversions to char* instead of automatic ascii conversions.

The definition of -UTQT_NO_ASCII_CAST is no longer needed.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 个月前
父节点
当前提交
64c09a0ec1
签署人:: Slávek Banko <slavek.banko@axis.cz> GPG 密钥 ID: 608F5293A04BE668
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      CMakeLists.txt
  2. 1
    1
      src/magiclabel.cpp

+ 1
- 1
CMakeLists.txt 查看文件

@@ -56,7 +56,7 @@ include( ConfigureChecks.cmake )

###### global compiler settings

add_definitions( -DHAVE_CONFIG_H -UTQT_NO_ASCII_CAST )
add_definitions( -DHAVE_CONFIG_H )

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )

+ 1
- 1
src/magiclabel.cpp 查看文件

@@ -31,7 +31,7 @@ MagicLabel::MagicLabel(TQString s, bool translate)
transform();

if (translate)
mValue = i18n(mValue);
mValue = i18n(mValue.utf8());
}



正在加载...
取消
保存