I have no idea what environment you are using for your builds. If you are using Qt Creator, you modify the .pro file; if you are using Visual Studio on Windows, you modify the C++ Additional include directories setting in the project's Property Pages. In either case, you need to add the path to the include files.
You will also have to add the library file(s) and path to the linker options in Visual Studio.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
I can't seem to find QT Charts - maybe it was not installed? I'm using QT 5.15.2 - and it's not here, because I tried building it, but Maintenance tool tells me it's installed
In my installation of Qt 5.14.2 using MSVC 2015, 64 bit, the include files are at 5.14.2/msvc2015_64/include/QtCharts, the libraries are at 5.14.2/msvc2015_64/lib, and the DLLs under 5.14.2/msvc2015_64/bin. My MinGW install has them in the same places relative to the top level of the mingw path.
If you are working on linux I can't tell you where they might be.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks