Trouble following directions
-
Re: Static compile of Qt Charts
Hi all,
I've been trying to follow the steps above. I got the errorProject ERROR: Unknown module(s) in QT: charts
when running qmake on my .pro file.I have a static version of QT installed on an external HD on OSX 10.11.
From the base dir of the install (I can see qtbase folder, configure, etc) I changed into qtcharts. I
../qtbase/bin/qmake; make; make install
. I even manually copied the lib to ../qtbase/lib and the include to ../qtbase/include`, but I still get the qmake error that charts is an unknown module. What am I missing? -
Hi and welcome to devnet,
What version of Qt are you using ?
How did you build it ?
What parameters did you pass ? -
What parameters did you use to build Qt ?
You should call make install after you build a module. Your manual copy doesn't put everything in place.
-
@jack213123 Is "../qtbase/bin/qmake" the qmake from your static Qt build?
-
Then use the
-prefix
option when calling configure to set another install path and callmake install
as you should.