Qt World Summit: Register Today!

Qt54, adding class, cimpiler error

  • Hi
    I´m very new to qt. Win7 64bit, dowloaded vs2010 (express + sdk 7.1 installed) version
    Made a new desktop project, added by wizard a class (.h, .cpp file). No further content written expect in main.cpp

    #include "clienttest.h"
    #include <QApplication>
    #include "cclient.h"

    CClient* PClient;

    int main(int argc, char *argv[])
    QApplication a(argc, argv);

    PClient = new CClient();
    ClientTest w;
    delete PClient;
    return a.exec&#40;&#41;;


    I get now compiler warnings that the constructor of CClient can not be resolved.
    Both files .h, .cpp are in project dir .. ?

    Any help?
    Thank you a lot

  • Hi, maybe some anomaly in your cclient.h file, could you post it.

  • Hi
    I had to delete existing output folder. Then it compiled fine....

Log in to reply