Hi guys
My app builds and runs perfectly on a Mac.
When I try to build in on Win XP through either the console or Qt creator I get:
"JBWindowfactory.h: no such file or directory"
This and several other files are in subdirectories listed in the project file.
Using Qt 4.6.2 (32 bit)
the .pro file
QT += network \
sql \
webkit \
multimedia \
testlib
TARGET = MarketingManager
TEMPLATE = app
SOURCES += main.cpp \
JBUtilities.cpp \
..
Views/JBTreeWidget.cpp \
Factories/JBWindowfactory.cpp \
..
Views/jbConnectableWidget.cpp
HEADERS += JBConstants.h \
..
Views/JBTreeWidget.h \
Factories/JBWindowfactory.h \
Windows/jbMainwindow.h \
..
ui_jbMainWindow.h \
Views/jbConnectableWidget.h
FORMS += jbMainWindow.ui
QT += network \
sql \
webkit \
multimedia \
testlib
TARGET = MarketingManager
TEMPLATE = app
SOURCES += main.cpp \
JBUtilities.cpp \
..
Views/JBTreeWidget.cpp \
Factories/JBWindowfactory.cpp \
..
Views/jbConnectableWidget.cpp
HEADERS += JBConstants.h \
..
Views/JBTreeWidget.h \
Factories/JBWindowfactory.h \
Windows/jbMainwindow.h \
..
ui_jbMainWindow.h \
Views/jbConnectableWidget.h
FORMS += jbMainWindow.ui
To copy to clipboard, switch view to plain text mode
main.cpp
#include <QtGui/QApplication>
#include <QString>
#include <QtSql>
#include <QDir>
#include <iostream>
#include "JBWindowfactory.h"
#include "JBConstants.h"
using namespace std;
int main(int argc, char *argv[])
{
etc.
#include <QtGui/QApplication>
#include <QString>
#include <QtSql>
#include <QDir>
#include <iostream>
#include "JBWindowfactory.h"
#include "JBConstants.h"
using namespace std;
int main(int argc, char *argv[])
{
etc.
To copy to clipboard, switch view to plain text mode
Adding the following to my project file doesn't help:
INCLUDEPATH += .
DEPENDPATH += . Factories
Any help would be appreciated.
Thanks
Jeff
Bookmarks