Answer the question
In order to leave comments, you need to log in
How to fix error when connecting QObject and QStringList?
.pro file
TEMPLATE = app
CONFIG += console
CONFIG -= qt
QT += gui
QT += testlib
SOURCES += main.cpp \
user.cpp \
message.cpp \
function.cpp \
human.cpp \
test_class.cpp
HEADERS += \
user .h\
message.h\
function.h\
human.h\
test_class.h
#ifndef TEST_CLASS_H
#define TEST_CLASS_H
#include
#include
class test_class
{
public:
test_class();
};
#endif // TEST_CLASS_H
C:\Users\sinister\class_for_social-build-desktop-Qt_4_8_0_for_Desktop_-_MinGW__Qt_SDK_________\..\class_for_social\test_class.h:4: error: QObject: No such file or directory
C:\Users\sinister\class_for_social-build-desktop- Qt_4_8_0_for_Desktop_-_MinGW__Qt_SDK_________\..\class_for_social\test_class.h:5: error: QStringList: No such file or directory
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question