https://bugs.kde.org/show_bug.cgi?id=471558
Bug ID: 471558 Summary: On centos7, x86_64, I used the source code to compile kxml-gui, but the compilation failed. Classification: I don't know Product: kde Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: 1871954...@qq.com Target Milestone: --- SUMMARY *** In Centos7, I want to compile the KXMLGUI. The version of my Qt is 5.15.10. The version of KXMLGUI is v5.106.0. During the compilation, I encountered a compilation error:home/xxx/KDEFrameworks/kxmlgui-v5.106.0/src/ksendbugmail/smtp.cpp:158:16: error: expected type-specifier before 'QSslSocket' sock = new QSslSocket(this); *** STEPS TO REPRODUCE 1. download the kxmlgui from https://invent.kde.org/frameworks/kxmlgui/-/tree/v5.106.0?ref_type=tags and decompress the package 2. go to the package and mkdir build 3. cd build 4 cmake .. , wait a moment and it shows the infomation: -- Configuring done -- Generating done -- Build files have been written to xxx/build 5 make then I encountered a compilation error OBSERVED RESULT During the compilation, I encountered a compilation error:home/xxx/KDEFrameworks/kxmlgui-v5.106.0/src/ksendbugmail/smtp.cpp:158:16: error: expected type-specifier before 'QSslSocket' sock = new QSslSocket(this); EXPECTED RESULT Compiled successfully. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Centos7 (available in About System) KDE Plasma Version: 1.10 KDE Frameworks Version: Qt Version: 5.15.10 ADDITIONAL INFORMATION I tried Qt version 5.15.0 and kxmlgui version v100.0 and the error was the same. -- You are receiving this mail because: You are watching all bug changes.