Changes between Version 2 and Version 3 of PacpusTutorialsNewComponent
- Timestamp:
- May 13, 2016, 10:28:27 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PacpusTutorialsNewComponent
v2 v3 3 3 In this tutorial we will learn how to add a new component to an existing PACPUS project. 4 4 Before starting, please make sure that your installation of PACPUS framework works fine, follow the guide here: GettingStarted 5 6 We make the assumption that we works in a Linux environment. 5 7 6 8 = Goal = … … 82 84 83 85 86 Add these 2 files to the {{{CMakeLists.txt}}} of the {{{PacpusSocket}}} plugin: 87 - put the cpp file to {{{PROJECT_SRCS}}} variable 88 - put the header file to {{{PROJECT_HDRS}}} and {{{FILES_TO_MOC}}} variables 89 90 Then compile the project again in QtCreator, you may get the same {{{PacpusSocket.so}}} plugin but at the difference it contains a new component. 91 92 == Step 3: coding the string generation algorithm == 84 93 85 94 86 95 96 == Step 4: testing == 97