Hello Pritpal,
If you read the harbour-user mailinglist, you might have seen, that I am trying to build a macports package, that installs harbour with one command on Mac OS X. Currently, it works with harbour 2.0.0 and the subversion repository. I can type "sudo port install harbour" or "sudo port install harbour-svn" and it installs automatically even with many dependencies..
Unfortunately without Qt. I do not know much (actually nothing
) about Qt and I am hoping you can give me a hint because I am stuck.
The build process works if the Qt-Package from Nokia is installed by the regular installer. But I would like it to run without having to install that. Macports can do that. It is the same version (4.6.3) and the files seem to be there. The problem is that they are in different places.
QtCore/qglobal.h for example is in /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/qglobal.h
I have tried to edit your code, so it finds global.h, but then qglobal.h contains an include that points to QtCore/qconfig.h, which is in /opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers/, also.
Somehow, I feel that I am very close and don't want to give up, but I lack the knowledge of Qt and the build-system.
Then I noticed, that the macports configuration (
http://trac.macports.org/browser/trunk/ ... c/Portfile) actually deletes the includes directory.
Code: Select all
331 # Fix includes
332 # (1) Remove include/Qt ; it should never be used in Qt 4 or newer
333 # it is there for legacy purposes (for Qt 3 compatibility)
334 if {[file exists ${destroot_qt}/include/Qt]} {
335 delete ${destroot_qt}/include/Qt
336 }
Excuse me for bothering you with all this. But I am hoping, that this makes more sense to you than to me.
Raumi