QtCreator problem?

Willem Ferguson willemferguson at zoology.up.ac.za
Tue Jan 26 06:16:05 PST 2016


I am working with the subsurface project loaded into QtCreator. I 
created a new class, the files (.cpp, .h) of which exists in the 
directory: desktop-widgets. When I refer to this class from within the 
Subsurface C++ code, I get an error: "Undefined reference" to the 
constructor and method of the new class. Obviously the new class is 
instantiated inside the Subsurface code.

I notice two things:

a) Attached image shows QtCreator side bar with File system at the top 
and with the recognised classes below. As file manager, it sees the .cpp 
and .h files ("downloadmanager.cpp & downloadmanager.h) but the class 
does not appear in the class view panel below.

b) If I look in the Subsurface.cbp file, the new class has also not been 
added there after QtCreator initially created the .cbp file.

I am convinced this is something basic and simple that I have not 
managed to understand.
Kind regards,
willem


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2016-01-26 15:33:24.png
Type: image/png
Size: 19312 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160126/52d125df/attachment-0001.png>


More information about the subsurface mailing list