Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello, I am trying to create a line chart in Visual Studio 2015 by using Qt 5.9.
I already set up the .pro file, but still get a problem with QtLib.
In main.cpp In .pro file
And the error
I appreciate any help from all of you
Thank you
does using the macro instead help:
QT_CHARTS_USE_NAMESPACE int main(int argc, char *argv[])
Do the example chart projects work for you? If they do that will be a simple test of finding differences of broken vs working...
Where I do use Charts obejcts, I also use a namespace on that class (as you are main):
using namespace QtCharts; class ...
Again, comparing the example apps to mine worked a treat for me.
@Kanguru Can you post the compiler/linker output? It looks like your app is not linked against QtChart lib.