Skip to content

Commit

Permalink
-Qt5Compat
Browse files Browse the repository at this point in the history
  • Loading branch information
psemiletov committed Apr 28, 2024
1 parent ccac9f0 commit ee71340
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,9 @@ endif()
if (Qt6_FOUND)
#find_package(Qt6 REQUIRED COMPONENTS TextToSpeech)
#target_link_libraries(tea Qt6::TextToSpeech)
target_link_libraries(tea Qt::Core5Compat)
endif()
#if (Qt6_FOUND)
#target_link_libraries(tea Qt::Core5Compat)
#endif()
target_link_libraries(tea Qt::Widgets Qt::Core)
Expand Down
2 changes: 1 addition & 1 deletion src/tea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4037,7 +4037,7 @@ void CTEA::fn_math_sum_by_last_col()
QStringList lt = l[i].split (" ");
if (lt.size() > 0)
{
QString s = lt.at (lt.size() - 1);
const QString s = lt.at (lt.size() - 1);
if (! s.isNull())
{
std::string utf8_text = s.toUtf8().constData();
Expand Down

0 comments on commit ee71340

Please sign in to comment.