Changes between Version 2 and Version 3 of PacpusTutorialsNewComponent


Ignore:
Timestamp:
May 13, 2016, 10:28:27 AM (9 years ago)
Author:
DHERBOMEZ Gérald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PacpusTutorialsNewComponent

    v2 v3  
    33In this tutorial we will learn how to add a new component to an existing PACPUS project.
    44Before starting, please make sure that your installation of PACPUS framework works fine, follow the guide here: GettingStarted
     5
     6We make the assumption that we works in a Linux environment.
    57
    68= Goal =
     
    8284
    8385
     86Add 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 
     90Then 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 ==
    8493
    8594
    8695
     96== Step 4: testing ==
     97