Bug 471558 - On centos7, x86_64, I used the source code to compile kxml-gui, but the compilation failed.
Summary: On centos7, x86_64, I used the source code to compile kxml-gui, but the compi...
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-29 06:42 UTC by 1871954290
Modified: 2023-08-04 19:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 1871954290 2023-06-29 06:42:55 UTC
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.
Comment 1 Nate Graham 2023-08-04 19:58:02 UTC
Hello! You've reached the KDE bug tracker, which is for tracking bugs in KDE software. Unfortunately here on the bug tracker, we cannot offer help with software development topics not clearly related to bugs in KDE software. This includes help setting up a dev environment, compiling specific projects, and so on. kxmlgui is green in our continuous integration system, so the problem is with your local development environment. You can find appropriate ways to get in contact with the dev team for assistance with your issue at https://community.kde.org/Get_Involved/development#Communicate_with_the_dev_team.