I downloaded KDChart-2 kdchart-2.2.1-win32-msvc2005-commercial_us-mt-qt-4.4.3-eval.exe
I installed it to c:\QT, such that my directory structure is
C:\Qt\KDChart-2
C:\Qt\2009.03
C:\Qt\2009.03\qt
I open KDChart-2\doc\Install.src
Obviously, they are leaving out some steps since qmake is not a command in either the DOS prompt or in the Visual Studio 2005 command prompt.KD Chart 2.x requires a Qt version >= 4 with XML support enabled.
0) From the top directory of your KD Chart installation run "qmake".
*Note:
For static builds on Windows please do one of the following:
qmake "CONFIG+=staticlib" "CONFIG+=release" #for debug and release
qmake "CONFIG+=staticlib" "CONFIG-=debug" "CONFIG+=release" #for release only
qmake "CONFIG+=staticlib" "CONFIG-=release" "CONFIG+=debug" #for debug only
Searching the C: drive for qmake, I found it in C:\Qt\2009.03\qt\qmake
Maybe that's what I'm supposed to run? So I added that to my path.
Trying again:
So I'm either running the wrong qmake, or the install file instructions are wrong.C:\Qt\KDChart-2\src>qmake.exe "CONFIG+=staticlib" "CONFIG+=release"
Usage: qmake.exe [mode] [options] [files]
QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project
Mode:
-project Put qmake into project file generation mode
In this mode qmake interprets files as files to
be built,
There's no makefile that I can see for KDChart-2.
What can I do to build KDChart? Any help is appreciated.
Bookmarks