Hi, I'm new to Qt4 and have experience with Xcode. I installed Qt4 using
qt-mac-opensource-4.3.2.dmg. I was able to build and run all the tutorial
examples.
I'm trying to build a NEW project using .cpp and .h files from 2 examples.
I created a NEW directory and put these files in it. Then I ran the following.
qmake -project / this creates a .pro file in my NEW dir
qmake -spec mac-xcode / this creates a .xcodeproj file in my NEW dir
I've noticed that the .pro file created in my NEW dir is different that
the .pro files in the tutorial examples.
I get "error:QtSql: no such file or directory" for the #include <QtSql> statement.
I get "error:QtSqlQueryModel: no such file or directory" for the #include
<QtSqlQueryModel> statement.
I get many more errors about 48 of them.
I don't understand why Xcode can't find these header files in my NEW project, but it does
find all header files in the tutorial examples.
What am I doing wrong? Your help is greatly appreciated!
Very confused,
Jbenitez
qt-mac-opensource-4.3.2.dmg. I was able to build and run all the tutorial
examples.
I'm trying to build a NEW project using .cpp and .h files from 2 examples.
I created a NEW directory and put these files in it. Then I ran the following.
qmake -project / this creates a .pro file in my NEW dir
qmake -spec mac-xcode / this creates a .xcodeproj file in my NEW dir
I've noticed that the .pro file created in my NEW dir is different that
the .pro files in the tutorial examples.
I get "error:QtSql: no such file or directory" for the #include <QtSql> statement.
I get "error:QtSqlQueryModel: no such file or directory" for the #include
<QtSqlQueryModel> statement.
I get many more errors about 48 of them.
I don't understand why Xcode can't find these header files in my NEW project, but it does
find all header files in the tutorial examples.
What am I doing wrong? Your help is greatly appreciated!
Very confused,
Jbenitez