Nada.pro
QT += core gui
TARGET = nada
TEMPLATE = app
INCLUDEPATH +=D:/I_DESARROLLO/c++ok/APCplugins/aplug
SOURCES += main.cpp\
mainwindow.cpp \
../APCplugins/aplug/a_wall2.cpp
HEADERS += mainwindow.h \
../APCplugins/aplug/a_wall2.h
FORMS += mainwindow.ui
QT += core gui
TARGET = nada
TEMPLATE = app
INCLUDEPATH +=D:/I_DESARROLLO/c++ok/APCplugins/aplug
SOURCES += main.cpp\
mainwindow.cpp \
../APCplugins/aplug/a_wall2.cpp
HEADERS += mainwindow.h \
../APCplugins/aplug/a_wall2.h
FORMS += mainwindow.ui
To copy to clipboard, switch view to plain text mode
a_wall2.h
#ifndef A_WALL2_H
#define A_WALL2_H
#include <QDateTime>
#include <QTimer>
#include <widgetwithbackground.h>
#ifndef A_WALL2_H
#define A_WALL2_H
#include <QDateTime>
#include <QTimer>
#include <widgetwithbackground.h>
To copy to clipboard, switch view to plain text mode
When Compile I have undefined references to widgetwithbackground.h. This file is located at the same folder as a_wall2.
However this nada.pro works.
QT += core gui
TARGET = nada
TEMPLATE = app
INCLUDEPATH +=D:/I_DESARROLLO/c++ok/APCplugins/aplug
SOURCES += main.cpp\
mainwindow.cpp \
../APCplugins/aplug/a_wall2.cpp \
../APCplugins/aplug/widgetwithbackground.cpp
HEADERS += mainwindow.h \
../APCplugins/aplug/a_wall2.h \
../APCplugins/aplug/widgetwithbackground.h
FORMS += mainwindow.ui
QT += core gui
TARGET = nada
TEMPLATE = app
INCLUDEPATH +=D:/I_DESARROLLO/c++ok/APCplugins/aplug
SOURCES += main.cpp\
mainwindow.cpp \
../APCplugins/aplug/a_wall2.cpp \
../APCplugins/aplug/widgetwithbackground.cpp
HEADERS += mainwindow.h \
../APCplugins/aplug/a_wall2.h \
../APCplugins/aplug/widgetwithbackground.h
FORMS += mainwindow.ui
To copy to clipboard, switch view to plain text mode
So I f I have a class that uses 100 classes, must I to add manually all this classes that besides are placed at the same folder ?
Thanks
Bookmarks