[Solved] Qt c++ incorrect class access


You have defined the Test() function in the header for the class coreEng, but failed to implement the class.

At the very least, you can put braces at the end of the definition in the header file: –

void Test() {}

Or implement the function in the cpp

void coreEng::Test() 
{
    // perform test
}

2

solved Qt c++ incorrect class access