Answer the question
In order to leave comments, you need to log in
Qt. How to understand why undefined reference to a class?
Greetings!
I don’t even know how to describe it, but I’ll try:
There are several classes that are large enough in one project,
these classes are in a separate folder (for convenience, I distribute the classes into folders)
As usual, I include productItem.h in the
header
#ifndef PRODUCTITEM_H
#define PRODUCTITEM_H
.....
#include "productitemrelatives.h"
#include "productitemmetavaluesmodel.h"
class ProductItem : public WBaseItem
.......
Answer the question
In order to leave comments, you need to log in
in ProductItemRelatives
exactly there статический
saveRelatives
?
Please provide a declaration of the ProductItemRelatives class and show how you call its methods from other code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question