Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/deepin-font-manager.spec'], chrootPath='/var/lib/mock/dist-an8.7-dde-la64-build-161713-58606/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/deepin-font-manager.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 33: %{summary} warning: Macro expanded in comment on line 35: %{summary}. warning: Macro expanded in comment on line 38: %{summary} warning: Macro expanded in comment on line 40: %{summary}. Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/deepin-font-manager-5.8.9-2.an8_6.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/deepin-font-manager.spec'], chrootPath='/var/lib/mock/dist-an8.7-dde-la64-build-161713-58606/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/deepin-font-manager.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 33: %{summary} warning: Macro expanded in comment on line 35: %{summary}. warning: Macro expanded in comment on line 38: %{summary} warning: Macro expanded in comment on line 40: %{summary}. Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rK74Fb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf deepin-font-manager-5.8.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/deepin-font-manager-5.8.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd deepin-font-manager-5.8.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TrDVdF + umask 022 + cd /builddir/build/BUILD + cd deepin-font-manager-5.8.9 + export PATH=/usr/lib64/qt5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/usr/lib64/qt5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++ find . -name CMakeLists.txt + sed -i 's|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|' ./deepin-font-preview-plugin/CMakeLists.txt ./CMakeLists.txt ./deepin-font-manager/CMakeLists.txt ./tests/CMakeLists.txt + sed -i 's|lib/|lib64|' ./deepin-font-preview-plugin/CMakeLists.txt + mkdir build ~/build/BUILD/deepin-font-manager-5.8.9/build ~/build/BUILD/deepin-font-manager-5.8.9 + pushd build + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=Release ../ -DAPP_VERSION=5.8.9 -DVERSION=5.8.9 -- The C compiler identification is GNU 8.5.0 -- The CXX compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Freetype: /usr/lib64/libfreetype.so (found version "2.9.1") -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for one of the modules 'fontconfig' process ../translations/deepin-font-manager.ts Updating '../translations/deepin-font-manager.qm'... Generated 87 translation(s) (83 finished and 4 unfinished) Ignored 2 untranslated source text(s) process ../translations/deepin-font-manager_am_ET.ts Updating '../translations/deepin-font-manager_am_ET.qm'... Generated 4 translation(s) (0 finished and 4 unfinished) Ignored 85 untranslated source text(s) process ../translations/deepin-font-manager_ar.ts Updating '../translations/deepin-font-manager_ar.qm'... Generated 78 translation(s) (78 finished and 0 unfinished) Ignored 11 untranslated source text(s) process ../translations/deepin-font-manager_ast.ts Updating '../translations/deepin-font-manager_ast.qm'... Generated 4 translation(s) (0 finished and 4 unfinished) Ignored 85 untranslated source text(s) process ../translations/deepin-font-manager_az.ts Updating '../translations/deepin-font-manager_az.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_bg.ts Updating '../translations/deepin-font-manager_bg.qm'... Generated 3 translation(s) (0 finished and 3 unfinished) Ignored 86 untranslated source text(s) process ../translations/deepin-font-manager_bn.ts Updating '../translations/deepin-font-manager_bn.qm'... Generated 4 translation(s) (0 finished and 4 unfinished) Ignored 85 untranslated source text(s) process ../translations/deepin-font-manager_bo.ts Updating '../translations/deepin-font-manager_bo.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_br.ts Updating '../translations/deepin-font-manager_br.qm'... Generated 83 translation(s) (83 finished and 0 unfinished) Ignored 6 untranslated source text(s) process ../translations/deepin-font-manager_ca.ts Updating '../translations/deepin-font-manager_ca.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_cs.ts Updating '../translations/deepin-font-manager_cs.qm'... Generated 87 translation(s) (87 finished and 0 unfinished) Ignored 2 untranslated source text(s) process ../translations/deepin-font-manager_da.ts Updating '../translations/deepin-font-manager_da.qm'... Generated 78 translation(s) (78 finished and 0 unfinished) Ignored 11 untranslated source text(s) process ../translations/deepin-font-manager_de.ts Updating '../translations/deepin-font-manager_de.qm'... Generated 84 translation(s) (84 finished and 0 unfinished) Ignored 5 untranslated source text(s) process ../translations/deepin-font-manager_el.ts Updating '../translations/deepin-font-manager_el.qm'... Generated 4 translation(s) (0 finished and 4 unfinished) Ignored 85 untranslated source text(s) process ../translations/deepin-font-manager_en.ts Updating '../translations/deepin-font-manager_en.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_es.ts Updating '../translations/deepin-font-manager_es.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_fi.ts Updating '../translations/deepin-font-manager_fi.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_fr.ts Updating '../translations/deepin-font-manager_fr.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_gl_ES.ts Updating '../translations/deepin-font-manager_gl_ES.qm'... Generated 87 translation(s) (87 finished and 0 unfinished) Ignored 2 untranslated source text(s) process ../translations/deepin-font-manager_hi_IN.ts Updating '../translations/deepin-font-manager_hi_IN.qm'... Generated 87 translation(s) (87 finished and 0 unfinished) Ignored 2 untranslated source text(s) process ../translations/deepin-font-manager_hr.ts Updating '../translations/deepin-font-manager_hr.qm'... Generated 47 translation(s) (34 finished and 13 unfinished) Ignored 42 untranslated source text(s) process ../translations/deepin-font-manager_hu.ts Updating '../translations/deepin-font-manager_hu.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_id.ts Updating '../translations/deepin-font-manager_id.qm'... Generated 4 translation(s) (0 finished and 4 unfinished) Ignored 85 untranslated source text(s) process ../translations/deepin-font-manager_it.ts Updating '../translations/deepin-font-manager_it.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_ja.ts Updating '../translations/deepin-font-manager_ja.qm'... Generated 4 translation(s) (0 finished and 4 unfinished) Ignored 85 untranslated source text(s) process ../translations/deepin-font-manager_ko.ts Updating '../translations/deepin-font-manager_ko.qm'... Generated 87 translation(s) (87 finished and 0 unfinished) Ignored 2 untranslated source text(s) process ../translations/deepin-font-manager_lt.ts Updating '../translations/deepin-font-manager_lt.qm'... Generated 4 translation(s) (0 finished and 4 unfinished) Ignored 85 untranslated source text(s) process ../translations/deepin-font-manager_mn.ts Updating '../translations/deepin-font-manager_mn.qm'... Generated 4 translation(s) (0 finished and 4 unfinished) Ignored 85 untranslated source text(s) process ../translations/deepin-font-manager_ms.ts Updating '../translations/deepin-font-manager_ms.qm'... Generated 78 translation(s) (78 finished and 0 unfinished) Ignored 11 untranslated source text(s) process ../translations/deepin-font-manager_ne.ts Updating '../translations/deepin-font-manager_ne.qm'... Generated 77 translation(s) (77 finished and 0 unfinished) Ignored 12 untranslated source text(s) process ../translations/deepin-font-manager_nl.ts Updating '../translations/deepin-font-manager_nl.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_pl.ts Updating '../translations/deepin-font-manager_pl.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_pt.ts Updating '../translations/deepin-font-manager_pt.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_pt_BR.ts Updating '../translations/deepin-font-manager_pt_BR.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_ro.ts Updating '../translations/deepin-font-manager_ro.qm'... Generated 4 translation(s) (0 finished and 4 unfinished) Ignored 85 untranslated source text(s) process ../translations/deepin-font-manager_ru.ts Updating '../translations/deepin-font-manager_ru.qm'... Generated 80 translation(s) (80 finished and 0 unfinished) Ignored 9 untranslated source text(s) process ../translations/deepin-font-manager_sk.ts Updating '../translations/deepin-font-manager_sk.qm'... Generated 4 translation(s) (0 finished and 4 unfinished) Ignored 85 untranslated source text(s) process ../translations/deepin-font-manager_sl.ts Updating '../translations/deepin-font-manager_sl.qm'... Generated 87 translation(s) (87 finished and 0 unfinished) Ignored 2 untranslated source text(s) process ../translations/deepin-font-manager_sq.ts Updating '../translations/deepin-font-manager_sq.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_sr.ts Updating '../translations/deepin-font-manager_sr.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_tr.ts Updating '../translations/deepin-font-manager_tr.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_ug.ts Updating '../translations/deepin-font-manager_ug.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_uk.ts Updating '../translations/deepin-font-manager_uk.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_vi.ts Updating '../translations/deepin-font-manager_vi.qm'... Generated 80 translation(s) (80 finished and 0 unfinished) Ignored 9 untranslated source text(s) process ../translations/deepin-font-manager_zh_CN.ts Updating '../translations/deepin-font-manager_zh_CN.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_zh_HK.ts Updating '../translations/deepin-font-manager_zh_HK.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) process ../translations/deepin-font-manager_zh_TW.ts Updating '../translations/deepin-font-manager_zh_TW.qm'... Generated 89 translation(s) (89 finished and 0 unfinished) -- Checking for one of the modules 'dde-file-manager' -- Found GTest: /usr/lib64/libgtest.so -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: APP_VERSION CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/deepin-font-manager-5.8.9/build + /usr/bin/make -O -j4 /usr/bin/cmake -S/builddir/build/BUILD/deepin-font-manager-5.8.9 -B/builddir/build/BUILD/deepin-font-manager-5.8.9/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/deepin-font-manager-5.8.9/build/CMakeFiles /builddir/build/BUILD/deepin-font-manager-5.8.9/build//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/build.make deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/depend /usr/bin/make -f deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/build.make deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/depend /usr/bin/make -f tests/CMakeFiles/font-manager-test_autogen.dir/build.make tests/CMakeFiles/font-manager-test_autogen.dir/depend make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/tests /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/CMakeFiles/font-manager-test_autogen.dir/DependInfo.cmake --color= Scanning dependencies of target font-manager-test_autogen make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/DependInfo.cmake --color= Scanning dependencies of target deepin-font-manager_autogen make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/build.make deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/build /usr/bin/make -f tests/CMakeFiles/font-manager-test_autogen.dir/build.make tests/CMakeFiles/font-manager-test_autogen.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/DependInfo.cmake --color= Scanning dependencies of target deepin-font-preview-plugin_autogen make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/build.make deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 2%] Automatic MOC for target deepin-font-preview-plugin cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/AutogenInfo.json Release make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[1]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 2%] Built target deepin-font-preview-plugin_autogen make[1]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/build.make deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/depend make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/DependInfo.cmake --color= Scanning dependencies of target deepin-font-preview-plugin make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/build.make deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 4%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/fontpreview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/fontpreview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/fontpreview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 4%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/deepin-font-preview-plugin_autogen/mocs_compilation.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/deepin-font-preview-plugin_autogen/mocs_compilation.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/mocs_compilation.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/3VPTD5AIRE/moc_dcopyfilesmanager.cpp:10, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/mocs_compilation.cpp:3: /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/3VPTD5AIRE/../../../../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/3VPTD5AIRE/../../../../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/EWIEGA46WW/../../../../deepin-font-preview-plugin/fontpreview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/EWIEGA46WW/moc_fontpreview.cpp:10, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 2%] Automatic MOC for target font-manager-test cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/CMakeFiles/font-manager-test_autogen.dir/AutogenInfo.json Release make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 2%] Automatic MOC for target deepin-font-manager cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/AutogenInfo.json Release make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[1]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 5%] Built target deepin-font-manager_autogen make[1]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[1]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 6%] Built target font-manager-test_autogen make[1]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-manager/CMakeFiles/deepin-font-manager.dir/build.make deepin-font-manager/CMakeFiles/deepin-font-manager.dir/depend make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 6%] Automatic RCC for ../deepin-font-manager-assets/deepin-font-manager.qrc cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/cmake -E cmake_autorcc /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/AutoRcc_deepin-font-manager_NKL2YLLCFN_Info.json Release make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/CMakeFiles/deepin-font-manager.dir/DependInfo.cmake --color= Scanning dependencies of target deepin-font-manager make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-manager/CMakeFiles/deepin-font-manager.dir/build.make deepin-font-manager/CMakeFiles/deepin-font-manager.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 5%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dcopyfilesmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dcopyfilesmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.cpp:22: /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 5%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/main.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/main.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/main.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f tests/CMakeFiles/font-manager-test.dir/build.make tests/CMakeFiles/font-manager-test.dir/depend make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 9%] Automatic RCC for ../deepin-font-manager-assets/deepin-font-manager.qrc cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/cmake -E cmake_autorcc /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/CMakeFiles/font-manager-test_autogen.dir/AutoRcc_deepin-font-manager_NKL2YLLCFN_Info.json Release make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/tests /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/CMakeFiles/font-manager-test.dir/DependInfo.cmake --color= Scanning dependencies of target font-manager-test make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f tests/CMakeFiles/font-manager-test.dir/build.make tests/CMakeFiles/font-manager-test.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 6%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfmdbmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfmdbmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfmdbmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 8%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontinfomanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontinfomanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp: In member function 'QStringList DFontInfoManager::getCurrentFontFamily()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:535:29: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-match"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:28: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp: In member function 'QString DFontInfoManager::getFontPath()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:616:43: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-match -v |grep file"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:28: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 10%] Building CXX object tests/CMakeFiles/font-manager-test.dir/font-manager-test_autogen/mocs_compilation.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/font-manager-test_autogen/mocs_compilation.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/mocs_compilation.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/KWVTLYRTQ4/../../../../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/KWVTLYRTQ4/../../../../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/KWVTLYRTQ4/moc_dfontpreviewlistview.cpp:10, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/mocs_compilation.cpp:8: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/KWVTLYRTQ4/../../../../deepin-font-manager/interfaces/dcomworker.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/KWVTLYRTQ4/moc_dcomworker.cpp:10, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 11%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontloadthread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontloadthread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontloadthread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 7%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/deepin-font-manager_autogen/mocs_compilation.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/deepin-font-manager_autogen/mocs_compilation.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/mocs_compilation.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/5Z5WMX6UGY/../../../../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/5Z5WMX6UGY/../../../../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/5Z5WMX6UGY/moc_dfontpreviewlistview.cpp:10, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/mocs_compilation.cpp:8: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/5Z5WMX6UGY/../../../../deepin-font-manager/interfaces/dcomworker.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/5Z5WMX6UGY/moc_dcomworker.cpp:10, from /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/mocs_compilation.cpp:2: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 10%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfmxmlwrapper.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfmxmlwrapper.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfmxmlwrapper.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 12%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontbasedialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontbasedialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontbasedialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /usr/include/gtest/gtest.h:58, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontbasedialog.cpp:24: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontbasedialog.cpp: In member function 'virtual void TestDFontBaseDialog_checkSetIconPixmap_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontbasedialog.cpp:61:40: warning: 'const QPixmap* QLabel::pixmap() const' is deprecated: Use the other overload which returns QPixmap by-value [-Wdeprecated-declarations] EXPECT_TRUE(fm->m_logoIcon->pixmap()->size() == QSize(32, 32)); ^ In file included from /usr/include/qt5/QtWidgets/QLabel:1, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:28, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontbasedialog.cpp:22: /usr/include/qt5/QtWidgets/qlabel.h:78:20: note: declared here const QPixmap *pixmap() const; // ### Qt 7: Remove function ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 13%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/dcomworker.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/dcomworker.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dcomworker.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dcomworker.cpp:27: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dcomworker.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dcomworker.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 12%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontpreview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontpreview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp: In member function 'virtual void DFontPreview::paintEvent(QPaintEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:144:60: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] const int lowerWidth = metrics.width(lowerTextStock); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:153:60: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] const int upperWidth = metrics.width(upperTextStock); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:162:64: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] const int punWidth = metrics.width(punctuationTextStock); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:176:49: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int sampleWidth = met.width(sampleString); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp: In member function 'QString DFontPreview::getLanguageSampleString(const QString&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:303:82: warning: 'QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] const QStringList parseList = language.split("_", QString::SkipEmptyParts); ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtCore/qstring.h:609:17: note: declared here QStringList split(const QString &sep, SplitBehavior behavior, ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 15%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontwidget.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontwidget.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontwidget.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 14%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontmenumanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontmenumanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontmenumanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 16%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/dfontbasedialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/dfontbasedialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 19%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/dfontmenumanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/dfontmenumanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontmenumanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 16%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/dfmxmlwrapper.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/dfmxmlwrapper.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp: In static member function 'static bool DFMXmlWrapper::deleteNodeWithTextList(const QString&, const QString&, const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:520:54: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "delete node failed!" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/qcborcommon.h:45, from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:38, from /usr/include/qt5/QtXml/QtXmlDepends:3, from /usr/include/qt5/QtXml/QtXml:3, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:520:54: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "delete node failed!" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/qcborcommon.h:45, from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:38, from /usr/include/qt5/QtXml/QtXmlDepends:3, from /usr/include/qt5/QtXml/QtXml:3, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:524:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "delete node failed!" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/qcborcommon.h:45, from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:38, from /usr/include/qt5/QtXml/QtXmlDepends:3, from /usr/include/qt5/QtXml/QtXml:3, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:524:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "delete node failed!" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/qcborcommon.h:45, from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:38, from /usr/include/qt5/QtXml/QtXmlDepends:3, from /usr/include/qt5/QtXml/QtXml:3, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 17%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dsqliteutil.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dsqliteutil.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dsqliteutil.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 18%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewitemdelegate.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewitemdelegate.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewitemdelegate.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewitemdelegate.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewitemdelegate.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewitemdelegate.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 20%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewer.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewer.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewer.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 22%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/fontmanagercore.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/fontmanagercore.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:21: /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qthread.h:44, from /usr/include/qt5/QtCore/QThread:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.h:22, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:20: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::setType(FontManagerCore::Type)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:88:25: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:88:25: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::setInstallFileList(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:103:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:103:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'virtual void FontManagerCore::run()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:137:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qInfo() << __FUNCTION__ << "start" << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:137:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qInfo() << __FUNCTION__ << "start" << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doCmd(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:168:27: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:168:27: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doInstall(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:226:36: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "s" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:226:36: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "s" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doUninstall(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:288:50: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations] bool ret = QProcess::startDetached("fc-cache"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:24: /usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here static bool startDetached(const QString &command); ^~~~~~~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:288:50: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations] bool ret = QProcess::startDetached("fc-cache"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:24: /usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here static bool startDetached(const QString &command); ^~~~~~~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doCache()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:378:29: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-cache"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:24: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 21%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewitemdelegate.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewitemdelegate.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp: In member function 'void DFontPreviewItemDelegate::paintForegroundFontName(QPainter*, const QStyleOptionViewItem&, const FontData&) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp:103:25: warning: 'DApplicationHelper' is deprecated: Use DPaletteHelper [-Wdeprecated-declarations] DApplicationHelper *dAppHelper = DApplicationHelper::instance(); ^~~~~~~~~~ In file included from /usr/include/libdtk-5.5.3/DWidget/DApplicationHelper:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp:28: /usr/include/libdtk-5.5.3/DWidget/dapplicationhelper.h:31:49: note: declared here class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 24%] Building CXX object deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/signalmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/c++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_WIDGETS_LIB -Ddeepin_font_preview_plugin_EXPORTS -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/deepin-font-preview-plugin_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin -isystem /usr/include/dde-file-manager -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -O2 -g -Wall -DNDEBUG -fPIC -fPIC -std=c++11 -o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/signalmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/signalmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 25%] Linking CXX shared library libdeepin-font-preview-plugin.so cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/cmake -E cmake_link_script CMakeFiles/deepin-font-preview-plugin.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -O2 -g -Wall -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libdeepin-font-preview-plugin.so -o libdeepin-font-preview-plugin.so CMakeFiles/deepin-font-preview-plugin.dir/deepin-font-preview-plugin_autogen/mocs_compilation.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/fontpreview.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/main.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dcopyfilesmanager.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfmdbmanager.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontinfomanager.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontloadthread.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontpreview.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dfontwidget.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/dsqliteutil.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/fontmanagercore.cpp.o CMakeFiles/deepin-font-preview-plugin.dir/__/libdeepin-font-manager/signalmanager.cpp.o /usr/lib64/libfreetype.so -ldtkwidget -ldtkcore -ldtkgui -ldtkcore /usr/lib64/libQt5Widgets.so.5.15.2 /usr/lib64/libQt5Gui.so.5.15.2 /usr/lib64/libQt5Sql.so.5.15.2 /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -ldtkgui /usr/lib64/libdde-file-manager.so /usr/lib64/libQt5Core.so.5.15.2 make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[1]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 25%] Built target deepin-font-preview-plugin make[1]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 23%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp:25: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp: In member function 'virtual void TestDFontPreviewListDataThread_checkRefreshFontListData_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp:151:33: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy2.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp:151:33: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy2.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp:159:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << dfdatathead->m_fontModelList.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp:159:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << dfdatathead->m_fontModelList.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 26%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewproxymodel.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewproxymodel.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewproxymodel.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 23%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewlistdatathread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewlistdatathread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:25: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp: In member function 'void DFontPreviewListDataThread::onFileAdded(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:280:66: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "S" << QThread::currentThreadId() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:280:66: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "S" << QThread::currentThreadId() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp: In member function 'void DFontPreviewListDataThread::withoutDbRefreshDb(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:419:72: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "strAllFontList.size()" << m_allFontPathList.size() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:419:72: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "strAllFontList.size()" << m_allFontPathList.size() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp: In member function 'void DFontPreviewListDataThread::refreshFontListData(bool, const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:616:60: warning: 'QSet QList::toSet() const [with T = QString]' is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] QSet allFontListSet = m_allFontPathList.toSet(); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qlist.h:413:13: note: declared here QSet toSet() const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:622:58: warning: 'QList QSet::toList() const [with T = QString]' is deprecated: Use values() instead. [-Wdeprecated-declarations] QList diffFilePathList = diffSet.toList(); ^ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qset.h:265:14: note: declared here QList toList() const { return values(); } ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 27%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/getuseraddfontthread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/getuseraddfontthread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/getuseraddfontthread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 25%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewlistview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewlistview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::loadLeftFonts()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:354:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << DFMDBManager::recordList.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:354:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << DFMDBManager::recordList.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::markPositionBeforeRemoved()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:425:61: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] qSort(deleteFontList.begin(), deleteFontList.end(), qGreater()); ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here class QT_DEPRECATED_X("Use std::greater") qGreater ^~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:425:84: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(deleteFontList.begin(), deleteFontList.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:425:84: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(deleteFontList.begin(), deleteFontList.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::updateModel(int, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:545:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_FontViewHasFocus << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:545:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_FontViewHasFocus << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::onMouseRightBtnPressed(const QModelIndex&, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1086:31: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << hasFocus() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1086:31: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << hasFocus() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'virtual void DFontPreviewListView::keyPressEvent(QKeyEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1328:45: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] qSort(list.begin(), list.end(), qGreater()); ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here class QT_DEPRECATED_X("Use std::greater") qGreater ^~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1328:68: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(list.begin(), list.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1328:68: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(list.begin(), list.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::onRightMenuShortCutActivated()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1624:41: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexes.begin(), indexes.end()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:174:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1624:41: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexes.begin(), indexes.end()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:174:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::onEnableBtnClicked(QModelIndexList&, int, int, bool, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1723:55: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] qSort(itemIndexes.begin(), itemIndexes.end(), qGreater()); ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here class QT_DEPRECATED_X("Use std::greater") qGreater ^~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1723:78: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(itemIndexes.begin(), itemIndexes.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1723:78: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(itemIndexes.begin(), itemIndexes.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::onCollectBtnClicked(QModelIndexList&, bool, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1822:51: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] qSort(indexList.begin(), indexList.end(), qGreater()); ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here class QT_DEPRECATED_X("Use std::greater") qGreater ^~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1822:74: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexList.begin(), indexList.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1822:74: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexList.begin(), indexList.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::scrollWithTheSelected()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:2322:43: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] qSort(indexes.begin(), indexes.end(), qGreater()); ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here class QT_DEPRECATED_X("Use std::greater") qGreater ^~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:2322:66: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexes.begin(), indexes.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:2322:66: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexes.begin(), indexes.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 28%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/interfaces/loadfontdatathread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/interfaces/loadfontdatathread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 28%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/main.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/main.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/main.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/main.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/performancemonitor.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/main.cpp:21: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 29%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/performancemonitor.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/performancemonitor.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/performancemonitor.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 26%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp: In function 'bool {anonymous}::stub_True()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:84:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "!!!!!!!!!!!11111" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:84:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "!!!!!!!!!!!11111" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp: In member function 'virtual void TestDFontPreviewListView_checkDeleteCurFonts_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:453:32: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:453:32: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp: In member function 'virtual void TestDFontPreviewListView_checkUpdateChangedDir_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:478:64: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy.count() << "!!!!!!!!!!" << spy2.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:478:64: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy.count() << "!!!!!!!!!!" << spy2.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp: In member function 'virtual void TestDFontPreviewListView_checkOnCollectBtnClicked_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:654:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << itemData.fontState << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:654:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << itemData.fontState << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp: In member function 'virtual void TestDFontPreviewListView_checkOnEnableBtnClickedEnable_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:693:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << itemData.fontState << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:693:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << itemData.fontState << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp: In member function 'virtual void TestDFontPreviewListView_checkLoadLeftFonts_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:1029:32: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:1029:32: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp: In member function 'virtual void TestDFontPreviewListView_checkSelectedFontsNotElse_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:1238:163: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << deleteCnt << disableSysCnt << systemCnt << curFontCnt << disableCnt << list.count() << disableIndexList.count() << allMinusSysFontList.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:1238:163: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << deleteCnt << disableSysCnt << systemCnt << curFontCnt << disableCnt << list.count() << disableIndexList.count() << allMinusSysFontList.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 31%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/utils.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/utils.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/utils.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 30%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/singlefontapplication.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/singlefontapplication.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp:24: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qmetaobject.h:45, from /usr/include/qt5/QtCore/QMetaMethod:1, from /usr/include/libdtk-5.5.3/DWidget/dtkwidget_global.h:23, from /usr/include/libdtk-5.5.3/DWidget/dapplication.h:21, from /usr/include/libdtk-5.5.3/DWidget/DApplication:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp: In member function 'void SingleFontApplication::slotBatchInstallFonts()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp:242:49: warning: 'QList QSet::toList() const [with T = QString]' is deprecated: Use values() instead. [-Wdeprecated-declarations] m_selectedFiles << waitForInstallSet.toList(); ^ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dapplication.h:23, from /usr/include/libdtk-5.5.3/DWidget/DApplication:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp:23: /usr/include/qt5/QtCore/qset.h:265:14: note: declared here QList toList() const { return values(); } ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 31%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dfdeletedialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dfdeletedialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfdeletedialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfdeletedialog.cpp:26: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfdeletedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfdeletedialog.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 34%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_getuseraddfontthread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_getuseraddfontthread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_getuseraddfontthread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 32%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewproxymodel.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewproxymodel.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewproxymodel.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewproxymodel.cpp:25: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtGui/qstandarditemmodel.h:44, from /usr/include/qt5/QtGui/QStandardItemModel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewproxymodel.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_dfontpreviewproxymodel.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 33%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dfinstallerrordialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dfinstallerrordialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp: In destructor 'virtual DFInstallErrorDialog::~DFInstallErrorDialog()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:76:40: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:76:40: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:81:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "end" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:81:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "end" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp: In member function 'void DFInstallErrorDialog::onListItemsClicked(const QModelIndexList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:482:69: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << it.row() << "++++++++++++++++++++++++++++++" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:482:69: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << it.row() << "++++++++++++++++++++++++++++++" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp: In member function 'void DFInstallErrorDialog::addData(QStringList&, QStringList&, QStringList&, QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:511:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "getfontinfo success!!!!!!!!!!1" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:511:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "getfontinfo success!!!!!!!!!!1" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 36%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_loadfontdatathread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_loadfontdatathread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_loadfontdatathread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_loadfontdatathread.cpp:22: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/interfaces/ut_loadfontdatathread.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 35%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dfinstallerrorlistview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dfinstallerrorlistview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp: In member function 'void DFInstallErrorListDelegate::drawFontName(QPainter*, const QStyleOptionViewItem&, DFInstallErrorItemModel, QRect, bool) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:143:51: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int m_StatusWidth = fontMetric.width(strStatus); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:146:55: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int m_NameWidth = fontMetric.width(strFontFileName); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp: In member function 'QString DFInstallErrorListDelegate::lengthAutoFeed(QPainter*, QString, int) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:341:56: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int m_TargetStrWidth = fontMetric.width(m_TargetStr); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:349:56: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] m_TargetStrWidth = fontMetric.width(m_TargetStr); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 37%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dfinstallnormalwindow.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dfinstallnormalwindow.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In destructor 'virtual DFInstallNormalWindow::~DFInstallNormalWindow()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:69:40: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:69:40: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:90:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "end" << this << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:90:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "end" << this << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In member function 'void DFInstallNormalWindow::getAllSysfiles()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:222:51: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << font.fontInfo.fullname << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:222:51: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << font.fontInfo.fullname << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In member function 'void DFInstallNormalWindow::checkShowMessage()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:373:35: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "Install over" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:373:35: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "Install over" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:380:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "need reinstall " << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:380:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "need reinstall " << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:383:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "no need reinstall" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:383:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "no need reinstall" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In member function 'void DFInstallNormalWindow::batchReInstall(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:539:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "start" << __FUNCTION__ << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:539:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "start" << __FUNCTION__ << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In member function 'void DFInstallNormalWindow::batchHalfwayInstall(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:569:94: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_newHalfInstalledFiles.count() << "*" << m_oldHalfInstalledFiles.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:569:94: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_newHalfInstalledFiles.count() << "*" << m_oldHalfInstalledFiles.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In member function 'void DFInstallNormalWindow::showInstallErrDlg()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:776:83: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << geometry().center() << "+" << m_pexceptionDlg->rect().center() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:776:83: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << geometry().center() << "+" << m_pexceptionDlg->rect().center() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 38%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dfontinfodialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dfontinfodialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp: In member function 'QString DFontInfoDialog::AutoFeed(QString)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:75:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int n_TextSize = fm.width(text); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:81:49: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] n_curSumWidth += fm.width(text.at(i)); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here int width(QChar) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp: In member function 'QString DFontInfoDialog::adaptiveLengthForNameTitle(QFontMetrics, QString, int)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:112:31: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fm.width(thirdLineText) > lineWidth) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:116:50: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] width += fm.width(thirdLineText.at(i)); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here int width(QChar) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:117:49: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (width > (lineWidth - (fm.width(s) + fm.width("...")))) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:117:67: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (width > (lineWidth - (fm.width(s) + fm.width("...")))) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 38%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfdeletedialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfdeletedialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfdeletedialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfdeletedialog.cpp:27: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfdeletedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfdeletedialog.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 40%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dfontinfoscrollarea.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dfontinfoscrollarea.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp: In member function 'QString dfontinfoscrollarea::elideText(QString&) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:225:46: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] curWidth += fontMetric.width("a"); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:227:46: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] curWidth += fontMetric.width(str); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here int width(QChar) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:235:43: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fontMetric.width("...") > IS_NEED_ELLIPSIS) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp: In member function 'QString dfontinfoscrollarea::elideText(const QString&, const QFont&, int)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:265:38: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int n_TextSize = fm.width(strText); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:271:52: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] n_curSumWidth += fm.width(strText.at(i)); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here int width(QChar) const; ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 39%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfinstallerrordialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfinstallerrordialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallerrordialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 40%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfinstallerrorlistview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfinstallerrorlistview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallerrorlistview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallerrorlistview.cpp: In member function 'virtual void TestDFInstallErrorListView_checkLengthAutoFeed_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallerrorlistview.cpp:176:24: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << str << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfinstallerrorlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallerrorlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallerrorlistview.cpp:176:24: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << str << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfinstallerrorlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallerrorlistview.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 43%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontInfo.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontInfo.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp: In member function 'virtual void TestDFontInfoManager_checkGetFileNames_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp:213:74: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << list << "+++++++++++++++++++++++++++++++++++++++++++" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp:29: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp:213:74: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << list << "+++++++++++++++++++++++++++++++++++++++++++" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp:29: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp: In member function 'virtual void TestDFontInfoManager_getAllChineseFontCount_is_normal_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp:334:37: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-list :lang=zh"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp:28: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp: In member function 'virtual void TestDFontInfoManager_getAllMonoFontCount_is_normal_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp:349:42: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-list :spacing=mono"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontInfo.cpp:28: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 42%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfinstallnormalwindow.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfinstallnormalwindow.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallnormalwindow.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallnormalwindow.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallnormalwindow.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallnormalwindow.cpp: In member function 'virtual void TestDFInstallNormalWindow_checkshowInstallErrDlg_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfinstallnormalwindow.cpp:443:39: warning: converting from 'int (QDialog::*)()' to 'fptr' {aka 'int (*)(QDialog*)'} [-Wpmf-conversions] fptr A_foo = (fptr)(&QDialog::exec); //获取虚函数地址 ^ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 44%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dfontspinner.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dfontspinner.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontspinner.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 41%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dfontmgrmainwindow.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dfontmgrmainwindow.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In lambda function: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:444:81: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_cacheFinish << m_installFinish << "______________" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:444:81: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_cacheFinish << m_installFinish << "______________" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::respondToValueChanged(int)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:574:46: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] fontSizeText.sprintf(FMT_FONT_SIZE, value); ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); ^~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::initStateBar()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:912:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] defaultFontSize.sprintf(FMT_FONT_SIZE, DEFAULT_FONT_SIZE); ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); ^~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'bool DFontMgrMainWindow::installFont(const QStringList&, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1092:36: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_fIsInstalling << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1092:36: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_fIsInstalling << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1103:84: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "installFont new DFInstallNormalWindow " << installFiles.size() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1103:84: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "installFont new DFInstallNormalWindow " << installFiles.size() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onSearchTextChanged(const QString&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1322:59: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "SearchFontName:" << strSearchFontName << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1322:59: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "SearchFontName:" << strSearchFontName << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1333:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1333:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onFontSizeChanged(int)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1378:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1378:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onLeftSiderBarItemClicked(int, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1425:49: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "filterGroup" << filterGroup << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1425:49: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "filterGroup" << filterGroup << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onFontListViewRowCountChanged()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1498:82: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << filterModel->rowCount() << "-------" << bShow << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1498:82: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << filterModel->rowCount() << "-------" << bShow << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onconfirmDelDlgAccept()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1690:70: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_menuDelFontList.count() << "!!!!!!!!!!!!!!!!11" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1690:70: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_menuDelFontList.count() << "!!!!!!!!!!!!!!!!11" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'virtual void DFontMgrMainWindow::dropEvent(QDropEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2070:65: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << installFileList << "drop in files :" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2070:65: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << installFileList << "drop in files :" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::hideSpinner()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2285:49: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "install finish" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2285:49: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "install finish" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onPreviewTextChanged()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2345:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2345:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'QStringList DFontMgrMainWindow::checkFilesSpace(const QStringList&, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2406:50: warning: 'QMap::iterator QMap::insertMulti(const Key&, const T&) [with Key = long long int; T = QString]' is deprecated: Use QMultiMap for maps storing multiple values with the same key. [-Wdeprecated-declarations] map.insertMulti(fileInfo.size(), file); ^ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qmap.h:1362:33: note: declared here typename QMap::iterator QMap::insertMulti(const Key &key, const T &value) ^~~~~~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2410:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << currentDiskSpace << totalSelectSpace << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2410:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << currentDiskSpace << totalSelectSpace << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::autoLabelWidth(QString, Dtk::Widget::DLabel*, QFontMetrics)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2510:22: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fm.width(text) <= 65) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qstyleditemdelegate.h:44, from /usr/include/qt5/QtWidgets/QStyledItemDelegate:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.h:29, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2512:29: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] } else if (fm.width(text) > 45) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qstyleditemdelegate.h:44, from /usr/include/qt5/QtWidgets/QStyledItemDelegate:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.h:29, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2519:29: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fm.width(str) < 80) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qstyleditemdelegate.h:44, from /usr/include/qt5/QtWidgets/QStyledItemDelegate:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.h:29, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'virtual void DFontMgrMainWindow::keyPressEvent(QKeyEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2543:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << d->fontScaleSlider << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2543:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << d->fontScaleSlider << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 43%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp: In member function 'virtual void TestDFontInfoDialog_checkAutoFeed_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp:112:24: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << str << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp:112:24: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << str << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp:119:24: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << str << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp:119:24: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << str << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 45%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dfontspinnerwidget.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dfontspinnerwidget.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontspinnerwidget.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 47%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontspinner.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontspinner.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontspinner.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 48%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontspinnerwidget.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontspinnerwidget.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontspinnerwidget.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 45%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dfquickinstallwindow.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dfquickinstallwindow.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfquickinstallwindow.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 46%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:22: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp: At global scope: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:68:42: warning: converting from 'int (QDialog::*)()' to '{anonymous}::fptr' {aka 'int (*)(QDialog*)'} [-Wpmf-conversions] auto QDialog_exec = (fptr)(&QDialog::exec); ^ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp: In member function 'virtual void TestDFontMgrMainWindow_checkOnLoadStatus1_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:659:32: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:659:32: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp: In member function 'virtual void TestDFontMgrMainWindow_checkOnUninstallFcCacheFinish_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:724:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << fm->m_fIsDeleting << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:724:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << fm->m_fIsDeleting << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp:22: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 49%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dsplitlistwidget.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dsplitlistwidget.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dsplitlistwidget.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dsplitlistwidget.cpp: In member function 'virtual void TestDSplitListWidget_checkWheelEventDeltaP_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dsplitlistwidget.cpp:154:105: warning: 'QWheelEvent::QWheelEvent(const QPointF&, const QPointF&, int, Qt::MouseButtons, Qt::KeyboardModifiers, Qt::Orientation)' is deprecated: Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and inverted [-Wdeprecated-declarations] QWheelEvent *e = new QWheelEvent(QPoint(45, 200), QPoint(600, 500), 10, Qt::NoButton, Qt::NoModifier); ^ In file included from /usr/include/qt5/QtGui/QMouseEvent:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dsplitlistwidget.cpp:32: /usr/include/qt5/QtGui/qevent.h:186:5: note: declared here QWheelEvent(const QPointF &pos, const QPointF& globalPos, int delta, ^~~~~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dsplitlistwidget.cpp: In member function 'virtual void TestDSplitListWidget_checkWheelEventDeltaN_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dsplitlistwidget.cpp:182:106: warning: 'QWheelEvent::QWheelEvent(const QPointF&, const QPointF&, int, Qt::MouseButtons, Qt::KeyboardModifiers, Qt::Orientation)' is deprecated: Use the last QWheelEvent constructor taking pixelDelta, angleDelta, phase, and inverted [-Wdeprecated-declarations] QWheelEvent *e = new QWheelEvent(QPoint(45, 200), QPoint(600, 500), -10, Qt::NoButton, Qt::NoModifier); ^ In file included from /usr/include/qt5/QtGui/QMouseEvent:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dsplitlistwidget.cpp:32: /usr/include/qt5/QtGui/qevent.h:186:5: note: declared here QWheelEvent(const QPointF &pos, const QPointF& globalPos, int delta, ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 51%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/fonticontext.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/fonticontext.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/fonticontext.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 48%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfquickinstallwindow.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfquickinstallwindow.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_dfquickinstallwindow.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 50%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/views/dsplitlistwidget.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/views/dsplitlistwidget.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp: In member function 'void DNoFocusDelegate::paintBackground(QPainter*, const QStyleOptionViewItem&, const QRect&, QPalette::ColorGroup) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:191:48: warning: 'QColor QColor::light(int) const' is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations] fillColor = fillColor.light(120); ^ In file included from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtGui/QPalette:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:27, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleditemdelegate.h:26, from /usr/include/libdtk-5.5.3/DWidget/DStyledItemDelegate:1, from /usr/include/libdtk-5.5.3/DWidget/dlistview.h:24, from /usr/include/libdtk-5.5.3/DWidget/DListView:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:23: /usr/include/qt5/QtGui/qcolor.h:233:30: note: declared here Q_REQUIRED_RESULT QColor light(int f = 150) const noexcept; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp: In member function 'void DNoFocusDelegate::paintTabBackground(QPainter*, const QStyleOptionViewItem&, const QRect&, QPalette::ColorGroup, bool) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:239:40: warning: 'QColor QColor::light(int) const' is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations] fillColor = fillColor.light(120); ^ In file included from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtGui/QPalette:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:27, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleditemdelegate.h:26, from /usr/include/libdtk-5.5.3/DWidget/DStyledItemDelegate:1, from /usr/include/libdtk-5.5.3/DWidget/dlistview.h:24, from /usr/include/libdtk-5.5.3/DWidget/DListView:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:23: /usr/include/qt5/QtGui/qcolor.h:233:30: note: declared here Q_REQUIRED_RESULT QColor light(int f = 150) const noexcept; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp: In member function 'QString DNoFocusDelegate::adjustLength(QString&, QFont&) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:304:40: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fontMetric.width(m_curTitle) > TITLE_VISIBLE_WIDTH) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/QStyleOption:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleoption.h:27, from /usr/include/libdtk-5.5.3/DWidget/DFontSizeManager:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleditemdelegate.h:27, from /usr/include/libdtk-5.5.3/DWidget/DStyledItemDelegate:1, from /usr/include/libdtk-5.5.3/DWidget/dlistview.h:24, from /usr/include/libdtk-5.5.3/DWidget/DListView:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:309:43: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fontMetric.width("...") > IS_NEED_ELLIPSIS) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/QStyleOption:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleoption.h:27, from /usr/include/libdtk-5.5.3/DWidget/DFontSizeManager:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleditemdelegate.h:27, from /usr/include/libdtk-5.5.3/DWidget/DStyledItemDelegate:1, from /usr/include/libdtk-5.5.3/DWidget/dlistview.h:24, from /usr/include/libdtk-5.5.3/DWidget/DListView:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp: In member function 'virtual void DSplitListWidget::wheelEvent(QWheelEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:516:22: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] if (event->delta() > 0) { ^ In file included from /usr/include/qt5/QtGui/QMouseEvent:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:34: /usr/include/qt5/QtGui/qevent.h:219:16: note: declared here inline int delta() const { return qt4D; } ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 52%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dcopyfilesmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dcopyfilesmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.cpp:22: /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 54%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/ut_singlefontapplication.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/ut_singlefontapplication.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/ut_singlefontapplication.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 55%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/ut_utils.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/ut_utils.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/ut_utils.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 53%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_fonticontext.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_fonticontext.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/deepin-font-manager-test/views/ut_fonticontext.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 57%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontloadthread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontloadthread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontloadthread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 57%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/main.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/main.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/main.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 56%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontinfomanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontinfomanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp: In member function 'QStringList DFontInfoManager::getCurrentFontFamily()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:535:29: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-match"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:28: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp: In member function 'QString DFontInfoManager::getFontPath()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:616:43: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-match -v |grep file"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:28: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 56%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfmdbmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfmdbmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfmdbmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 58%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontpreview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontpreview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp: In member function 'virtual void DFontPreview::paintEvent(QPaintEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:144:60: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] const int lowerWidth = metrics.width(lowerTextStock); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:153:60: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] const int upperWidth = metrics.width(upperTextStock); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:162:64: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] const int punWidth = metrics.width(punctuationTextStock); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:176:49: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int sampleWidth = met.width(sampleString); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp: In member function 'QString DFontPreview::getLanguageSampleString(const QString&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:303:82: warning: 'QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] const QStringList parseList = language.split("_", QString::SkipEmptyParts); ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtCore/qstring.h:609:17: note: declared here QStringList split(const QString &sep, SplitBehavior behavior, ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 59%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/ut_dcopyfilesmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/ut_dcopyfilesmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dcopyfilesmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dcopyfilesmanager.cpp:22: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dcopyfilesmanager.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dcopyfilesmanager.cpp: In member function 'virtual void TestDCopyFilesManager_checkRunInstall_Test::TestBody()': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dcopyfilesmanager.cpp:84:32: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dcopyfilesmanager.cpp:37: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dcopyfilesmanager.cpp:84:32: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << spy.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dcopyfilesmanager.cpp:37: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 60%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/ut_dfmdbmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/ut_dfmdbmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dfmdbmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 61%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/ut_dfontloadthread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/ut_dfontloadthread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dfontloadthread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 62%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontwidget.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontwidget.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontwidget.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 63%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/fontmanagercore.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/fontmanagercore.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:21: /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qthread.h:44, from /usr/include/qt5/QtCore/QThread:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.h:22, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:20: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::setType(FontManagerCore::Type)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:88:25: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:88:25: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::setInstallFileList(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:103:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:103:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'virtual void FontManagerCore::run()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:137:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qInfo() << __FUNCTION__ << "start" << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:137:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qInfo() << __FUNCTION__ << "start" << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doCmd(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:168:27: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:168:27: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doInstall(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:226:36: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "s" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:226:36: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "s" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doUninstall(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:288:50: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations] bool ret = QProcess::startDetached("fc-cache"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:24: /usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here static bool startDetached(const QString &command); ^~~~~~~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:288:50: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations] bool ret = QProcess::startDetached("fc-cache"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:24: /usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here static bool startDetached(const QString &command); ^~~~~~~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doCache()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:378:29: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-cache"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:24: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 64%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/ut_dfontpreview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/ut_dfontpreview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dfontpreview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 62%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dsqliteutil.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dsqliteutil.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dsqliteutil.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 63%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/ut_dfontmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/ut_dfontmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dfontmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dfontmanager.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qthread.h:44, from /usr/include/qt5/QtCore/QThread:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/fontmanagercore.h:22, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dfontmanager.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 65%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/ut_dfontpreviewLib.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/ut_dfontpreviewLib.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dfontpreviewLib.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 68%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/deepin-font-manager_autogen/NKL2YLLCFN/qrc_deepin-font-manager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/deepin-font-manager_autogen/NKL2YLLCFN/qrc_deepin-font-manager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/NKL2YLLCFN/qrc_deepin-font-manager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 67%] Building CXX object deepin-font-manager/CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/signalmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/deepin-font-manager_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -fPIC -std=c++11 -o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/signalmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/signalmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 67%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/ut_dfontpreviewitemdef.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/ut_dfontpreviewitemdef.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dfontpreviewitemdef.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 70%] Linking CXX executable deepin-font-manager cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/cmake -E cmake_link_script CMakeFiles/deepin-font-manager.dir/link.txt --verbose=1 /usr/bin/c++ -O2 -g -Wall -Wl,--as-need -fPIE -DNDEBUG -pie CMakeFiles/deepin-font-manager.dir/deepin-font-manager_autogen/mocs_compilation.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/dcomworker.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/dfmxmlwrapper.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/dfontbasedialog.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/dfontmenumanager.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewer.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewitemdelegate.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewlistdatathread.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewlistview.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/dfontpreviewproxymodel.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/getuseraddfontthread.cpp.o CMakeFiles/deepin-font-manager.dir/interfaces/loadfontdatathread.cpp.o CMakeFiles/deepin-font-manager.dir/main.cpp.o CMakeFiles/deepin-font-manager.dir/performancemonitor.cpp.o CMakeFiles/deepin-font-manager.dir/singlefontapplication.cpp.o CMakeFiles/deepin-font-manager.dir/utils.cpp.o CMakeFiles/deepin-font-manager.dir/views/dfdeletedialog.cpp.o CMakeFiles/deepin-font-manager.dir/views/dfinstallerrordialog.cpp.o CMakeFiles/deepin-font-manager.dir/views/dfinstallerrorlistview.cpp.o CMakeFiles/deepin-font-manager.dir/views/dfinstallnormalwindow.cpp.o CMakeFiles/deepin-font-manager.dir/views/dfontinfodialog.cpp.o CMakeFiles/deepin-font-manager.dir/views/dfontinfoscrollarea.cpp.o CMakeFiles/deepin-font-manager.dir/views/dfontmgrmainwindow.cpp.o CMakeFiles/deepin-font-manager.dir/views/dfontspinner.cpp.o CMakeFiles/deepin-font-manager.dir/views/dfontspinnerwidget.cpp.o CMakeFiles/deepin-font-manager.dir/views/dfquickinstallwindow.cpp.o CMakeFiles/deepin-font-manager.dir/views/dsplitlistwidget.cpp.o CMakeFiles/deepin-font-manager.dir/views/fonticontext.cpp.o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dcopyfilesmanager.cpp.o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfmdbmanager.cpp.o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontinfomanager.cpp.o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontloadthread.cpp.o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontpreview.cpp.o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dfontwidget.cpp.o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/dsqliteutil.cpp.o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/fontmanagercore.cpp.o CMakeFiles/deepin-font-manager.dir/__/libdeepin-font-manager/signalmanager.cpp.o CMakeFiles/deepin-font-manager.dir/deepin-font-manager_autogen/NKL2YLLCFN/qrc_deepin-font-manager.cpp.o -o deepin-font-manager /usr/lib64/libQt5Sql.so.5.15.2 /usr/lib64/libQt5Xml.so.5.15.2 /usr/lib64/libQt5Svg.so.5.15.2 /usr/lib64/libQt5DBus.so.5.15.2 /usr/lib64/libQt5Network.so.5.15.2 -ldtkcore -ldtkwidget -ldtkcore -ldtkgui -ldtkcore /usr/lib64/libfreetype.so /usr/lib64/libfreetype.so /usr/lib64/libQt5Widgets.so.5.15.2 /usr/lib64/libQt5Gui.so.5.15.2 /usr/lib64/libQt5Core.so.5.15.2 -ldtkwidget -ldtkgui /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[1]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 71%] Built target deepin-font-manager make[1]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 68%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/ut_dfontwidget.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/ut_dfontwidget.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dfontwidget.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 71%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/ut_performancemonitor.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/ut_performancemonitor.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_performancemonitor.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 69%] Building CXX object tests/CMakeFiles/font-manager-test.dir/src/ut_dsqliteutil.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/src/ut_dsqliteutil.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src/ut_dsqliteutil.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 72%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dcomworker.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dcomworker.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dcomworker.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dcomworker.cpp:27: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dcomworker.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dcomworker.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 73%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontbasedialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontbasedialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontbasedialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 73%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfmxmlwrapper.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfmxmlwrapper.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp: In static member function 'static bool DFMXmlWrapper::deleteNodeWithTextList(const QString&, const QString&, const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:520:54: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "delete node failed!" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/qcborcommon.h:45, from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:38, from /usr/include/qt5/QtXml/QtXmlDepends:3, from /usr/include/qt5/QtXml/QtXml:3, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:520:54: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "delete node failed!" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/qcborcommon.h:45, from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:38, from /usr/include/qt5/QtXml/QtXmlDepends:3, from /usr/include/qt5/QtXml/QtXml:3, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:524:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "delete node failed!" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/qcborcommon.h:45, from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:38, from /usr/include/qt5/QtXml/QtXmlDepends:3, from /usr/include/qt5/QtXml/QtXml:3, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:524:50: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "delete node failed!" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/qcborcommon.h:45, from /usr/include/qt5/QtCore/qcborvalue.h:45, from /usr/include/qt5/QtCore/qcborarray.h:43, from /usr/include/qt5/QtCore/QtCore:38, from /usr/include/qt5/QtXml/QtXmlDepends:3, from /usr/include/qt5/QtXml/QtXml:3, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfmxmlwrapper.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 74%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontmenumanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontmenumanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontmenumanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 75%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewer.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewer.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewer.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 76%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp: In member function 'void DFontPreviewItemDelegate::paintForegroundFontName(QPainter*, const QStyleOptionViewItem&, const FontData&) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp:103:25: warning: 'DApplicationHelper' is deprecated: Use DPaletteHelper [-Wdeprecated-declarations] DApplicationHelper *dAppHelper = DApplicationHelper::instance(); ^~~~~~~~~~ In file included from /usr/include/libdtk-5.5.3/DWidget/DApplicationHelper:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp:28: /usr/include/libdtk-5.5.3/DWidget/dapplicationhelper.h:31:49: note: declared here class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 78%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewproxymodel.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewproxymodel.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewproxymodel.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 79%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/getuseraddfontthread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/getuseraddfontthread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/getuseraddfontthread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 76%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:25: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp: In member function 'void DFontPreviewListDataThread::onFileAdded(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:280:66: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "S" << QThread::currentThreadId() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:280:66: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "S" << QThread::currentThreadId() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp: In member function 'void DFontPreviewListDataThread::withoutDbRefreshDb(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:419:72: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "strAllFontList.size()" << m_allFontPathList.size() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:419:72: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "strAllFontList.size()" << m_allFontPathList.size() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp: In member function 'void DFontPreviewListDataThread::refreshFontListData(bool, const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:616:60: warning: 'QSet QList::toSet() const [with T = QString]' is deprecated: Use QSet(list.begin(), list.end()) instead. [-Wdeprecated-declarations] QSet allFontListSet = m_allFontPathList.toSet(); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qlist.h:413:13: note: declared here QSet toSet() const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:622:58: warning: 'QList QSet::toList() const [with T = QString]' is deprecated: Use values() instead. [-Wdeprecated-declarations] QList diffFilePathList = diffSet.toList(); ^ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dsqliteutil.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfmdbmanager.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp:23: /usr/include/qt5/QtCore/qset.h:265:14: note: declared here QList toList() const { return values(); } ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 80%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/performancemonitor.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/performancemonitor.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/performancemonitor.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 80%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/loadfontdatathread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/loadfontdatathread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 77%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewlistview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewlistview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::loadLeftFonts()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:354:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << DFMDBManager::recordList.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:354:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << DFMDBManager::recordList.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::markPositionBeforeRemoved()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:425:61: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] qSort(deleteFontList.begin(), deleteFontList.end(), qGreater()); ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here class QT_DEPRECATED_X("Use std::greater") qGreater ^~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:425:84: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(deleteFontList.begin(), deleteFontList.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:425:84: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(deleteFontList.begin(), deleteFontList.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::updateModel(int, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:545:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_FontViewHasFocus << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:545:39: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_FontViewHasFocus << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::onMouseRightBtnPressed(const QModelIndex&, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1086:31: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << hasFocus() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1086:31: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << hasFocus() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'virtual void DFontPreviewListView::keyPressEvent(QKeyEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1328:45: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] qSort(list.begin(), list.end(), qGreater()); ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here class QT_DEPRECATED_X("Use std::greater") qGreater ^~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1328:68: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(list.begin(), list.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1328:68: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(list.begin(), list.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::onRightMenuShortCutActivated()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1624:41: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexes.begin(), indexes.end()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:174:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1624:41: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexes.begin(), indexes.end()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:174:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::onEnableBtnClicked(QModelIndexList&, int, int, bool, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1723:55: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] qSort(itemIndexes.begin(), itemIndexes.end(), qGreater()); ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here class QT_DEPRECATED_X("Use std::greater") qGreater ^~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1723:78: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(itemIndexes.begin(), itemIndexes.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1723:78: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(itemIndexes.begin(), itemIndexes.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::onCollectBtnClicked(QModelIndexList&, bool, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1822:51: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] qSort(indexList.begin(), indexList.end(), qGreater()); ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here class QT_DEPRECATED_X("Use std::greater") qGreater ^~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1822:74: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexList.begin(), indexList.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:1822:74: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexList.begin(), indexList.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp: In member function 'void DFontPreviewListView::scrollWithTheSelected()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:2322:43: warning: 'template class qGreater' is deprecated: Use std::greater [-Wdeprecated-declarations] qSort(indexes.begin(), indexes.end(), qGreater()); ^~~~~~~~ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:163:43: note: declared here class QT_DEPRECATED_X("Use std::greater") qGreater ^~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:2322:66: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexes.begin(), indexes.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:2322:66: warning: 'void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = qGreater]' is deprecated: Use std::sort [-Wdeprecated-declarations] qSort(indexes.begin(), indexes.end(), qGreater()); ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/interfaces/dfontpreviewlistview.cpp:23: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 81%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/singlefontapplication.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/singlefontapplication.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp:24: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qmetaobject.h:45, from /usr/include/qt5/QtCore/QMetaMethod:1, from /usr/include/libdtk-5.5.3/DWidget/dtkwidget_global.h:23, from /usr/include/libdtk-5.5.3/DWidget/dapplication.h:21, from /usr/include/libdtk-5.5.3/DWidget/DApplication:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp: In member function 'void SingleFontApplication::slotBatchInstallFonts()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp:242:49: warning: 'QList QSet::toList() const [with T = QString]' is deprecated: Use values() instead. [-Wdeprecated-declarations] m_selectedFiles << waitForInstallSet.toList(); ^ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dapplication.h:23, from /usr/include/libdtk-5.5.3/DWidget/DApplication:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/singlefontapplication.cpp:23: /usr/include/qt5/QtCore/qset.h:265:14: note: declared here QList toList() const { return values(); } ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 82%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/utils.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/utils.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/utils.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 83%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfdeletedialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfdeletedialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfdeletedialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfdeletedialog.cpp:26: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfdeletedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfdeletedialog.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 83%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfinstallerrordialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfinstallerrordialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp: In destructor 'virtual DFInstallErrorDialog::~DFInstallErrorDialog()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:76:40: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:76:40: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:81:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "end" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:81:38: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "end" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp: In member function 'void DFInstallErrorDialog::onListItemsClicked(const QModelIndexList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:482:69: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << it.row() << "++++++++++++++++++++++++++++++" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:482:69: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << it.row() << "++++++++++++++++++++++++++++++" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp: In member function 'void DFInstallErrorDialog::addData(QStringList&, QStringList&, QStringList&, QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:511:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "getfontinfo success!!!!!!!!!!1" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:511:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "getfontinfo success!!!!!!!!!!1" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrordialog.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 84%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfinstallerrorlistview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfinstallerrorlistview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp: In member function 'void DFInstallErrorListDelegate::drawFontName(QPainter*, const QStyleOptionViewItem&, DFInstallErrorItemModel, QRect, bool) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:143:51: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int m_StatusWidth = fontMetric.width(strStatus); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:146:55: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int m_NameWidth = fontMetric.width(strFontFileName); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp: In member function 'QString DFInstallErrorListDelegate::lengthAutoFeed(QPainter*, QString, int) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:341:56: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int m_TargetStrWidth = fontMetric.width(m_TargetStr); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:349:56: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] m_TargetStrWidth = fontMetric.width(m_TargetStr); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallerrorlistview.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 85%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfinstallnormalwindow.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfinstallnormalwindow.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In destructor 'virtual DFInstallNormalWindow::~DFInstallNormalWindow()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:69:40: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:69:40: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:90:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "end" << this << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:90:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "end" << this << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In member function 'void DFInstallNormalWindow::getAllSysfiles()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:222:51: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << font.fontInfo.fullname << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:222:51: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << font.fontInfo.fullname << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In member function 'void DFInstallNormalWindow::checkShowMessage()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:373:35: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "Install over" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:373:35: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "Install over" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:380:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "need reinstall " << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:380:46: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "need reinstall " << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:383:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "no need reinstall" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:383:48: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "no need reinstall" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In member function 'void DFInstallNormalWindow::batchReInstall(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:539:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "start" << __FUNCTION__ << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:539:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "start" << __FUNCTION__ << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In member function 'void DFInstallNormalWindow::batchHalfwayInstall(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:569:94: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_newHalfInstalledFiles.count() << "*" << m_oldHalfInstalledFiles.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:569:94: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_newHalfInstalledFiles.count() << "*" << m_oldHalfInstalledFiles.count() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp: In member function 'void DFInstallNormalWindow::showInstallErrDlg()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:776:83: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << geometry().center() << "+" << m_pexceptionDlg->rect().center() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:776:83: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << geometry().center() << "+" << m_pexceptionDlg->rect().center() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:26, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyle.h:25, from /usr/include/libdtk-5.5.3/DWidget/dlabel.h:25, from /usr/include/libdtk-5.5.3/DWidget/DLabel:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfinstallnormalwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 87%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontinfoscrollarea.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontinfoscrollarea.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp: In member function 'QString dfontinfoscrollarea::elideText(QString&) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:225:46: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] curWidth += fontMetric.width("a"); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:227:46: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] curWidth += fontMetric.width(str); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here int width(QChar) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:235:43: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fontMetric.width("...") > IS_NEED_ELLIPSIS) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp: In member function 'QString dfontinfoscrollarea::elideText(const QString&, const QFont&, int)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:265:38: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int n_TextSize = fm.width(strText); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:271:52: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] n_curSumWidth += fm.width(strText.at(i)); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfoscrollarea.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here int width(QChar) const; ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 86%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontinfodialog.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontinfodialog.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp: In member function 'QString DFontInfoDialog::AutoFeed(QString)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:75:35: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int n_TextSize = fm.width(text); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:81:49: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] n_curSumWidth += fm.width(text.at(i)); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here int width(QChar) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp: In member function 'QString DFontInfoDialog::adaptiveLengthForNameTitle(QFontMetrics, QString, int)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:112:31: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fm.width(thirdLineText) > lineWidth) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:116:50: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] width += fm.width(thirdLineText.at(i)); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here int width(QChar) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:117:49: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (width > (lineWidth - (fm.width(s) + fm.width("...")))) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:117:67: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (width > (lineWidth - (fm.width(s) + fm.width("...")))) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qdialog.h:44, from /usr/include/qt5/QtWidgets/QDialog:1, from /usr/include/libdtk-5.5.3/DWidget/dabstractdialog.h:21, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontbasedialog.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontinfodialog.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 88%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontspinner.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontspinner.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontspinner.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 89%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontspinnerwidget.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontspinnerwidget.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontspinnerwidget.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 91%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/fonticontext.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/fonticontext.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/fonticontext.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 90%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfquickinstallwindow.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfquickinstallwindow.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfquickinstallwindow.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 87%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontmgrmainwindow.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontmgrmainwindow.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/loadfontdatathread.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:33, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In lambda function: /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:444:81: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_cacheFinish << m_installFinish << "______________" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:444:81: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_cacheFinish << m_installFinish << "______________" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::respondToValueChanged(int)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:574:46: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] fontSizeText.sprintf(FMT_FONT_SIZE, value); ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); ^~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::initStateBar()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:912:61: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] defaultFontSize.sprintf(FMT_FONT_SIZE, DEFAULT_FONT_SIZE); ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontinfomanager.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); ^~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'bool DFontMgrMainWindow::installFont(const QStringList&, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1092:36: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_fIsInstalling << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1092:36: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_fIsInstalling << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1103:84: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "installFont new DFInstallNormalWindow " << installFiles.size() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1103:84: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "installFont new DFInstallNormalWindow " << installFiles.size() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onSearchTextChanged(const QString&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1322:59: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "SearchFontName:" << strSearchFontName << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1322:59: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "SearchFontName:" << strSearchFontName << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1333:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1333:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onFontSizeChanged(int)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1378:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1378:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onLeftSiderBarItemClicked(int, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1425:49: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "filterGroup" << filterGroup << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1425:49: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << "filterGroup" << filterGroup << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onFontListViewRowCountChanged()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1498:82: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << filterModel->rowCount() << "-------" << bShow << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1498:82: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << filterModel->rowCount() << "-------" << bShow << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onconfirmDelDlgAccept()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1690:70: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_menuDelFontList.count() << "!!!!!!!!!!!!!!!!11" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:1690:70: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_menuDelFontList.count() << "!!!!!!!!!!!!!!!!11" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'virtual void DFontMgrMainWindow::dropEvent(QDropEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2070:65: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << installFileList << "drop in files :" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2070:65: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << installFileList << "drop in files :" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::hideSpinner()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2285:49: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "install finish" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2285:49: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "install finish" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::onPreviewTextChanged()': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2345:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2345:79: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "filter Count:" << filterModel->rowCount() << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'QStringList DFontMgrMainWindow::checkFilesSpace(const QStringList&, bool)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2406:50: warning: 'QMap::iterator QMap::insertMulti(const Key&, const T&) [with Key = long long int; T = QString]' is deprecated: Use QMultiMap for maps storing multiple values with the same key. [-Wdeprecated-declarations] map.insertMulti(fileInfo.size(), file); ^ In file included from /usr/include/qt5/QtCore/qdebug.h:47, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qmap.h:1362:33: note: declared here typename QMap::iterator QMap::insertMulti(const Key &key, const T &value) ^~~~~~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2410:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << currentDiskSpace << totalSelectSpace << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2410:57: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << currentDiskSpace << totalSelectSpace << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'void DFontMgrMainWindow::autoLabelWidth(QString, Dtk::Widget::DLabel*, QFontMetrics)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2510:22: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fm.width(text) <= 65) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qstyleditemdelegate.h:44, from /usr/include/qt5/QtWidgets/QStyledItemDelegate:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewitemdelegate.h:29, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2512:29: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] } else if (fm.width(text) > 45) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qstyleditemdelegate.h:44, from /usr/include/qt5/QtWidgets/QStyledItemDelegate:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewitemdelegate.h:29, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2519:29: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fm.width(str) < 80) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt5/QtWidgets/qstyleditemdelegate.h:44, from /usr/include/qt5/QtWidgets/QStyledItemDelegate:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewitemdelegate.h:29, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:27, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp: In member function 'virtual void DFontMgrMainWindow::keyPressEvent(QKeyEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2543:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << d->fontScaleSlider << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:2543:43: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << d->fontScaleSlider << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager/dfontpreviewitemdef.h:30, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces/dfontpreviewlistview.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views/dfontmgrmainwindow.h:26, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dfontmgrmainwindow.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 90%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dsplitlistwidget.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dsplitlistwidget.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp: In member function 'void DNoFocusDelegate::paintBackground(QPainter*, const QStyleOptionViewItem&, const QRect&, QPalette::ColorGroup) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:191:48: warning: 'QColor QColor::light(int) const' is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations] fillColor = fillColor.light(120); ^ In file included from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtGui/QPalette:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:27, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleditemdelegate.h:26, from /usr/include/libdtk-5.5.3/DWidget/DStyledItemDelegate:1, from /usr/include/libdtk-5.5.3/DWidget/dlistview.h:24, from /usr/include/libdtk-5.5.3/DWidget/DListView:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:23: /usr/include/qt5/QtGui/qcolor.h:233:30: note: declared here Q_REQUIRED_RESULT QColor light(int f = 150) const noexcept; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp: In member function 'void DNoFocusDelegate::paintTabBackground(QPainter*, const QStyleOptionViewItem&, const QRect&, QPalette::ColorGroup, bool) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:239:40: warning: 'QColor QColor::light(int) const' is deprecated: Use QColor::lighter() instead [-Wdeprecated-declarations] fillColor = fillColor.light(120); ^ In file included from /usr/include/qt5/QtGui/qpalette.h:45, from /usr/include/qt5/QtGui/QPalette:1, from /usr/include/libdtk-5.5.3/DGui/dpalette.h:27, from /usr/include/libdtk-5.5.3/DGui/DPalette:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleditemdelegate.h:26, from /usr/include/libdtk-5.5.3/DWidget/DStyledItemDelegate:1, from /usr/include/libdtk-5.5.3/DWidget/dlistview.h:24, from /usr/include/libdtk-5.5.3/DWidget/DListView:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:23: /usr/include/qt5/QtGui/qcolor.h:233:30: note: declared here Q_REQUIRED_RESULT QColor light(int f = 150) const noexcept; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp: In member function 'QString DNoFocusDelegate::adjustLength(QString&, QFont&) const': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:304:40: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fontMetric.width(m_curTitle) > TITLE_VISIBLE_WIDTH) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/QStyleOption:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleoption.h:27, from /usr/include/libdtk-5.5.3/DWidget/DFontSizeManager:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleditemdelegate.h:27, from /usr/include/libdtk-5.5.3/DWidget/DStyledItemDelegate:1, from /usr/include/libdtk-5.5.3/DWidget/dlistview.h:24, from /usr/include/libdtk-5.5.3/DWidget/DListView:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:309:43: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] if (fontMetric.width("...") > IS_NEED_ELLIPSIS) { ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt5/QtWidgets/qstyleoption.h:47, from /usr/include/qt5/QtWidgets/QStyleOption:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleoption.h:27, from /usr/include/libdtk-5.5.3/DWidget/DFontSizeManager:1, from /usr/include/libdtk-5.5.3/DWidget/dstyleditemdelegate.h:27, from /usr/include/libdtk-5.5.3/DWidget/DStyledItemDelegate:1, from /usr/include/libdtk-5.5.3/DWidget/dlistview.h:24, from /usr/include/libdtk-5.5.3/DWidget/DListView:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.h:28, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp: In member function 'virtual void DSplitListWidget::wheelEvent(QWheelEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:516:22: warning: 'int QWheelEvent::delta() const' is deprecated: Use angleDelta() [-Wdeprecated-declarations] if (event->delta() > 0) { ^ In file included from /usr/include/qt5/QtGui/QMouseEvent:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager/views/dsplitlistwidget.cpp:34: /usr/include/qt5/QtGui/qevent.h:219:16: note: declared here inline int delta() const { return qt4D; } ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 92%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dcopyfilesmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dcopyfilesmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.cpp:22: /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/QObject:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h:25, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.cpp:22: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 93%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfmdbmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfmdbmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfmdbmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 94%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontloadthread.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontloadthread.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontloadthread.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 94%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontinfomanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontinfomanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp: In member function 'QStringList DFontInfoManager::getCurrentFontFamily()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:535:29: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-match"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:28: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp: In member function 'QString DFontInfoManager::getFontPath()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:616:43: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-match -v |grep file"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontinfomanager.cpp:28: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 95%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontpreview.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontpreview.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp: In member function 'virtual void DFontPreview::paintEvent(QPaintEvent*)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:144:60: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] const int lowerWidth = metrics.width(lowerTextStock); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:153:60: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] const int upperWidth = metrics.width(upperTextStock); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:162:64: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] const int punWidth = metrics.width(punctuationTextStock); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:176:49: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] int sampleWidth = met.width(sampleString); ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here int width(const QString &, int len = -1) const; ^~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp: In member function 'QString DFontPreview::getLanguageSampleString(const QString&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:303:82: warning: 'QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] const QStringList parseList = language.split("_", QString::SkipEmptyParts); ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/QWidget:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.h:23, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontpreview.cpp:20: /usr/include/qt5/QtCore/qstring.h:609:17: note: declared here QStringList split(const QString &sep, SplitBehavior behavior, ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 96%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontwidget.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontwidget.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dfontwidget.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 99%] Building CXX object tests/CMakeFiles/font-manager-test.dir/font-manager-test_autogen/NKL2YLLCFN/qrc_deepin-font-manager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/font-manager-test_autogen/NKL2YLLCFN/qrc_deepin-font-manager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/NKL2YLLCFN/qrc_deepin-font-manager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 97%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dsqliteutil.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dsqliteutil.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dsqliteutil.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 98%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/signalmanager.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/signalmanager.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/signalmanager.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 97%] Building CXX object tests/CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/fontmanagercore.cpp.o cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/c++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_SVG_LIB -DQT_TESTCASE_BUILDDIR=\"/builddir/build/BUILD/deepin-font-manager-5.8.9/build\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/font-manager-test_autogen/include -I/usr/include/libdtk-5.5.3/DCore -I/usr/include/libdtk-5.5.3/DGui -I/usr/include/libdtk-5.5.3/DWidget -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../libdeepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/src -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/views -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/../deepin-font-manager/interfaces -I/builddir/build/BUILD/deepin-font-manager-5.8.9/tests/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtTest -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/uuid -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -fno-access-control -fPIC -std=c++11 -o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/fontmanagercore.cpp.o -c /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' In file included from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:21: /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h: In member function 'void DCopyFilesManager::sortFontList(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/dcopyfilesmanager.h:118:47: warning: 'void QList::swap(int, int) [with T = QString]' is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] fonts.swap(i, fonts.size() - 1 - i); ^ In file included from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qthread.h:44, from /usr/include/qt5/QtCore/QThread:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.h:22, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:20: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here void swap(int i, int j) { swapItemsAt(i, j); } ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::setType(FontManagerCore::Type)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:88:25: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:88:25: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::setInstallFileList(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:103:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:103:44: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __FUNCTION__ << "start" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'virtual void FontManagerCore::run()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:137:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qInfo() << __FUNCTION__ << "start" << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:137:53: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qInfo() << __FUNCTION__ << "start" << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doCmd(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:168:27: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:168:27: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << m_type << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doInstall(QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:226:36: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "s" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:226:36: warning: 'QTextStream& QTextStreamFunctions::endl(QTextStream&)' is deprecated: Use Qt::endl [-Wdeprecated-declarations] qDebug() << __func__ << "s" << endl; ^~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:23: /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); ^~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doUninstall(const QStringList&)': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:288:50: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations] bool ret = QProcess::startDetached("fc-cache"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:24: /usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here static bool startDetached(const QString &command); ^~~~~~~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:288:50: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations] bool ret = QProcess::startDetached("fc-cache"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:24: /usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here static bool startDetached(const QString &command); ^~~~~~~~~~~~~ /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp: In member function 'void FontManagerCore::doCache()': /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:378:29: warning: 'void QProcess::start(const QString&, QIODevice::OpenMode)' is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations] process.start("fc-cache"); ^ In file included from /usr/include/qt5/QtCore/QProcess:1, from /builddir/build/BUILD/deepin-font-manager-5.8.9/libdeepin-font-manager/fontmanagercore.cpp:24: /usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here void start(const QString &command, OpenMode mode = ReadWrite); ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [100%] Linking CXX executable font-manager-test cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/font-manager-test.dir/link.txt --verbose=1 /usr/bin/c++ -g -fprofile-arcs -ftest-coverage -fno-inline -DCMAKE_SAFETYTEST_ARG_OFF -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CMakeFiles/font-manager-test.dir/font-manager-test_autogen/mocs_compilation.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfmxmlwrapper.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontbasedialog.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontmenumanager.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewitemdelegate.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistdatathread.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewlistview.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_dfontpreviewproxymodel.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_getuseraddfontthread.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/interfaces/ut_loadfontdatathread.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfdeletedialog.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfinstallerrordialog.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfinstallerrorlistview.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfinstallnormalwindow.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontInfo.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontinfodialog.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontmgrmainwindow.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontspinner.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfontspinnerwidget.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dfquickinstallwindow.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_dsplitlistwidget.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/views/ut_fonticontext.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/ut_singlefontapplication.cpp.o CMakeFiles/font-manager-test.dir/src/deepin-font-manager-test/ut_utils.cpp.o CMakeFiles/font-manager-test.dir/src/main.cpp.o CMakeFiles/font-manager-test.dir/src/ut_dcopyfilesmanager.cpp.o CMakeFiles/font-manager-test.dir/src/ut_dfmdbmanager.cpp.o CMakeFiles/font-manager-test.dir/src/ut_dfontloadthread.cpp.o CMakeFiles/font-manager-test.dir/src/ut_dfontmanager.cpp.o CMakeFiles/font-manager-test.dir/src/ut_dfontpreview.cpp.o CMakeFiles/font-manager-test.dir/src/ut_dfontpreviewLib.cpp.o CMakeFiles/font-manager-test.dir/src/ut_dfontpreviewitemdef.cpp.o CMakeFiles/font-manager-test.dir/src/ut_dfontwidget.cpp.o CMakeFiles/font-manager-test.dir/src/ut_dsqliteutil.cpp.o CMakeFiles/font-manager-test.dir/src/ut_performancemonitor.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dcomworker.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfmxmlwrapper.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontbasedialog.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontmenumanager.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewer.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewitemdelegate.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewlistdatathread.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewlistview.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/dfontpreviewproxymodel.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/getuseraddfontthread.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/interfaces/loadfontdatathread.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/performancemonitor.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/singlefontapplication.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/utils.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfdeletedialog.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfinstallerrordialog.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfinstallerrorlistview.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfinstallnormalwindow.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontinfodialog.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontinfoscrollarea.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontmgrmainwindow.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontspinner.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfontspinnerwidget.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dfquickinstallwindow.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/dsplitlistwidget.cpp.o CMakeFiles/font-manager-test.dir/__/deepin-font-manager/views/fonticontext.cpp.o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dcopyfilesmanager.cpp.o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfmdbmanager.cpp.o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontinfomanager.cpp.o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontloadthread.cpp.o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontpreview.cpp.o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dfontwidget.cpp.o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/dsqliteutil.cpp.o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/fontmanagercore.cpp.o CMakeFiles/font-manager-test.dir/__/libdeepin-font-manager/signalmanager.cpp.o CMakeFiles/font-manager-test.dir/font-manager-test_autogen/NKL2YLLCFN/qrc_deepin-font-manager.cpp.o -o font-manager-test -lgtest -lgtest_main -pthread /usr/lib64/libQt5Sql.so.5.15.2 /usr/lib64/libQt5Xml.so.5.15.2 /usr/lib64/libQt5Svg.so.5.15.2 /usr/lib64/libQt5DBus.so.5.15.2 /usr/lib64/libQt5Network.so.5.15.2 /usr/lib64/libQt5Test.so.5.15.2 -ldtkcore -ldtkwidget -ldtkcore -ldtkgui -ldtkcore /usr/lib64/libfreetype.so /usr/lib64/libfreetype.so -ldtkwidget -ldtkgui /usr/lib64/libQt5Widgets.so.5.15.2 /usr/lib64/libQt5Gui.so.5.15.2 /usr/lib64/libQt5Core.so.5.15.2 /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[1]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [100%] Built target font-manager-test make[1]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/deepin-font-manager-5.8.9/build/CMakeFiles 0 ~/build/BUILD/deepin-font-manager-5.8.9 + popd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VRp4iO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64 ++ dirname /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64 + cd deepin-font-manager-5.8.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64 'INSTALL=/usr/bin/install -p' -C build INSTALL_ROOT=/builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64 make: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/cmake -S/builddir/build/BUILD/deepin-font-manager-5.8.9 -B/builddir/build/BUILD/deepin-font-manager-5.8.9/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/deepin-font-manager-5.8.9/build/CMakeFiles /builddir/build/BUILD/deepin-font-manager-5.8.9/build//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/build.make deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/depend make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/build.make deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 0%] Automatic MOC for target deepin-font-manager cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/CMakeFiles/deepin-font-manager_autogen.dir/AutogenInfo.json Release make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 0%] Built target deepin-font-manager_autogen /usr/bin/make -f deepin-font-manager/CMakeFiles/deepin-font-manager.dir/build.make deepin-font-manager/CMakeFiles/deepin-font-manager.dir/depend make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-manager /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-manager/CMakeFiles/deepin-font-manager.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-manager/CMakeFiles/deepin-font-manager.dir/build.make deepin-font-manager/CMakeFiles/deepin-font-manager.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Nothing to be done for 'deepin-font-manager/CMakeFiles/deepin-font-manager.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 31%] Built target deepin-font-manager /usr/bin/make -f deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/build.make deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/depend make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/build.make deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 32%] Automatic MOC for target deepin-font-preview-plugin cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin_autogen.dir/AutogenInfo.json Release make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 32%] Built target deepin-font-preview-plugin_autogen /usr/bin/make -f deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/build.make deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/depend make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/deepin-font-preview-plugin /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin /builddir/build/BUILD/deepin-font-manager-5.8.9/build/deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/build.make deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Nothing to be done for 'deepin-font-preview-plugin/CMakeFiles/deepin-font-preview-plugin.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 42%] Built target deepin-font-preview-plugin /usr/bin/make -f tests/CMakeFiles/font-manager-test_autogen.dir/build.make tests/CMakeFiles/font-manager-test_autogen.dir/depend make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/tests /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/CMakeFiles/font-manager-test_autogen.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f tests/CMakeFiles/font-manager-test_autogen.dir/build.make tests/CMakeFiles/font-manager-test_autogen.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 43%] Automatic MOC for target font-manager-test cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests && /usr/bin/cmake -E cmake_autogen /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/CMakeFiles/font-manager-test_autogen.dir/AutogenInfo.json Release make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [ 43%] Built target font-manager-test_autogen /usr/bin/make -f tests/CMakeFiles/font-manager-test.dir/build.make tests/CMakeFiles/font-manager-test.dir/depend make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' cd /builddir/build/BUILD/deepin-font-manager-5.8.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/deepin-font-manager-5.8.9 /builddir/build/BUILD/deepin-font-manager-5.8.9/tests /builddir/build/BUILD/deepin-font-manager-5.8.9/build /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests /builddir/build/BUILD/deepin-font-manager-5.8.9/build/tests/CMakeFiles/font-manager-test.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/make -f tests/CMakeFiles/font-manager-test.dir/build.make tests/CMakeFiles/font-manager-test.dir/build make[2]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[2]: Nothing to be done for 'tests/CMakeFiles/font-manager-test.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' [100%] Built target font-manager-test make[1]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/deepin-font-manager-5.8.9/build/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/tips.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/deepin_launcher.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/close_icon.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/deepin-font-manager.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/uncollection.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/add_normal.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/icon_plus.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/deepin_font_manager.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/icon_menu.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/collection_normal.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/attention.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/notes.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/search.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/plus.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/common/uncollection_normal.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN/fig -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN/fig/main.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN/fig/p_multi.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN/fig/delete.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN/fig/p_single.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN/fig/info.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN/fig/single.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN/fig/hotkey.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN/fig/multi.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_CN/font-manager.md -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/en_US -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/en_US/fig -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/en_US/fig/main.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/en_US/fig/info.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/en_US/fig/font_delete.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/en_US/fig/hotkey.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/en_US/font-manager.md -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_HK -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_HK/fig -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_HK/fig/main.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_HK/fig/delete.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_HK/fig/info.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_HK/fig/single.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_HK/fig/hotkey.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_HK/fig/multi.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_HK/font-manager.md -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_TW -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_TW/fig -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_TW/fig/main.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_TW/fig/info.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_TW/fig/single.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_TW/fig/1.psd -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_TW/fig/font_delete.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_TW/fig/hotkey.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_TW/fig/multi.png -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-manual/manual-assets/application//deepin-font-manager/font-manager/zh_TW/font-manager.md -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_am_ET.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_ar.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_ast.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_az.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_bg.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_bn.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_bo.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_br.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_ca.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_cs.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_da.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_de.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_el.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_en.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_es.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_fi.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_fr.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_gl_ES.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_hi_IN.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_hr.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_hu.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_id.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_it.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_ja.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_ko.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_lt.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_mn.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_ms.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_ne.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_nl.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_pl.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_pt.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_pt_BR.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_ro.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_ru.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_sk.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_sl.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_sq.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_sr.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_tr.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_ug.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_uk.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_vi.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_zh_CN.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_zh_HK.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/translations/deepin-font-manager_zh_TW.qm -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/bin/deepin-font-manager -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/applications/deepin-font-manager.desktop -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/icons/hicolor/scalable/apps/deepin-font-manager.svg -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/deepin-font-manager/contents.txt -- Installing: /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/lib64/dde-file-manager/plugins/previews/libdeepin-font-preview-plugin.so make: Leaving directory '/builddir/build/BUILD/deepin-font-manager-5.8.9/build' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 5.8.9-2.an8_6 --unique-debug-suffix -5.8.9-2.an8_6.loongarch64 --unique-debug-src-base deepin-font-manager-5.8.9-2.an8_6.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/deepin-font-manager-5.8.9 extracting debug info from /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/lib64/dde-file-manager/plugins/previews/libdeepin-font-preview-plugin.so extracting debug info from /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/bin/deepin-font-manager /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2802 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: deepin-font-manager-5.8.9-2.an8_6.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.waLogt + umask 022 + cd /builddir/build/BUILD + cd deepin-font-manager-5.8.9 + DOCDIR=/builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/doc/deepin-font-manager + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/doc/deepin-font-manager + cp -pr README.md /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/doc/deepin-font-manager + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wGjk7n + umask 022 + cd /builddir/build/BUILD + cd deepin-font-manager-5.8.9 + LICENSEDIR=/builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/licenses/deepin-font-manager + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/licenses/deepin-font-manager + cp -pr LICENSE /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64/usr/share/licenses/deepin-font-manager + exit 0 Provides: application() application(deepin-font-manager.desktop) deepin-font-manager = 5.8.9-2.an8_6 deepin-font-manager(loongarch-64) = 5.8.9-2.an8_6 libdeepin-font-preview-plugin.so()(64bit) mimehandler(application/x-font-otf) mimehandler(application/x-font-ttf) mimehandler(application/x-font-type1) mimehandler(font/collection) mimehandler(font/otf) mimehandler(font/ttf) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5DBus.so.5()(64bit) libQt5DBus.so.5(Qt_5)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5Sql.so.5()(64bit) libQt5Sql.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libQt5Xml.so.5()(64bit) libQt5Xml.so.5(Qt_5)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdde-file-manager.so.1()(64bit) libdtkcore.so.5()(64bit) libdtkgui.so.5()(64bit) libdtkwidget.so.5()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) Processing files: deepin-font-manager-debugsource-5.8.9-2.an8_6.loongarch64 Provides: deepin-font-manager-debugsource = 5.8.9-2.an8_6 deepin-font-manager-debugsource(loongarch-64) = 5.8.9-2.an8_6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: deepin-font-manager-debuginfo-5.8.9-2.an8_6.loongarch64 Provides: debuginfo(build-id) = 38ae8cc7445be70f78fb398599d0f36173d748cc debuginfo(build-id) = 538fdaffafffabde9686efd15ed62d3fb519c922 deepin-font-manager-debuginfo = 5.8.9-2.an8_6 deepin-font-manager-debuginfo(loongarch-64) = 5.8.9-2.an8_6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: deepin-font-manager-debugsource(loongarch-64) = 5.8.9-2.an8_6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64 Wrote: /builddir/build/RPMS/deepin-font-manager-5.8.9-2.an8_6.loongarch64.rpm Wrote: /builddir/build/RPMS/deepin-font-manager-debugsource-5.8.9-2.an8_6.loongarch64.rpm Wrote: /builddir/build/RPMS/deepin-font-manager-debuginfo-5.8.9-2.an8_6.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NW5kIt + umask 022 + cd /builddir/build/BUILD + cd deepin-font-manager-5.8.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/deepin-font-manager-5.8.9-2.an8_6.loongarch64 + exit 0 Child return code was: 0