Your updated example worked fine using Qt 4.7.4 & Qt Creator 2.2.1 on my Debian Sid system.Don't know anything about Red Hat but maybe this will help: linkQt Code:
#include <QDebug> #include "SimpleClass.h" int main() { SimpleClass sc; qDebug() << sc.ReturnNumber(); return 0; }To copy to clipboard, switch view to plain text mode
Bookmarks