Hi!
I'm having trouble using my plug-in in Cloud Compare after trying to use a QDialog window as in the RANSAC plug-in.
My plug-in compiles flawlessly and gives the expected outputs if using fixed values but once I try to add a dialog window, it does not show-up anymore in the plug-ins list (even if it still compiles without problem.)
Is there any specific code to add in order to use a QDialog window inside a Cloud Compare plug-in?
Many thanks in advance.
Pablo C.
PS: The plug-in's code can be seen here
[SOLVED] Can't load my plugin once it embeds a QDialog window.
[SOLVED] Can't load my plugin once it embeds a QDialog window.
Last edited by PabloC on Tue Sep 08, 2015 12:42 pm, edited 1 time in total.
Re: Can't load my plugin once it embeds a QDialog window.
Hi Pablo,
Maybe it's something silly: can you try to replace the '.hpp' extension by '.h'. The CMake scripts are only looking for '.h' files (in order then to detect the 'Q_OBJECT' macros and generate the mocable files).
Maybe it's something silly: can you try to replace the '.hpp' extension by '.h'. The CMake scripts are only looking for '.h' files (in order then to detect the 'Q_OBJECT' macros and generate the mocable files).
Daniel, CloudCompare admin
Re: Can't load my plugin once it embeds a QDialog window.
Hi Daniel,
Fortunately you were right!
It's now time to change my naming habits.
Many thanks.
Pablo C.
Fortunately you were right!
It's now time to change my naming habits.
Many thanks.
Pablo C.