OPC DA Client Example with Qt
is there any example for OPC DA client in QT with QAxObject..
I searched a lot but I couldn't find one..
I could not find a Qt sample either.
Did you see
yes I saw that... but I dont have deep knowlege of C++ to convert it to QT... :(
Well , why do you need it to be converted ?
You could use it for getting data and then Qt for GUI.
But if you mean to integrate with normal
Qt database features then yes, Huuuuge work.
But if its easy to use as normal c++, it could work with mixed.
It seems to be a Visual Studio project.
You can use this compiler with Qt. So it would be
possible to get it running.
I have never tried this implementation so it might be bad or incomplete.
Also its DA specification version 2.05A which is 2002 it seems to it also
depends on your server side if u can even use it.
DA 2.05A is exactly the version that I'll play on..
is that possible to add the files to a QT project and compile it? it seems that it depends on MS C++.. I use Mingw version of QT..
Well it might use ATL
which i dont think mingw likes.
You might have luck, looking in example
Then create qt project with those files.
Then add all files from toolkit src files to that project and compile.
(not the server files)
But it will not Just work. there will be errors.
dd the files to a QT project and compile it? it seems that it depends on MS C++.. I use Mingw version of QT..
I think the best way to create a dll from Visual Studio and use it with QT...
It uses ATL::CComPtr
all over so yes using visual stud and create a DLL might be only way as not
to drive u insane.
Do you need Qt for GUI or could u just use VS for whole project?