10-20-2014 10:15 AM
Hi,
I'd like to use Test API in Qt, but there are so many errors that the project could not be built successfully. did anyone do this before? Thanks.
Michael Ji from Shanghai, PRC.
10-20-2014 07:25 PM
10-21-2014 02:54 AM
Are you referring to this Qt? If yes, please note that no NI software product has official support for this environment.
I never worked with this, and i dont understand the reference to "other programming languages" on that wiki-page.
Can you please provide more information on your application? Are you talking about code modules or are you talking about customizing an UI?
Norbert
10-21-2014 03:44 AM
10-21-2014 07:01 AM
TestStand is an ActiveX Server. Is it possible, that Qt can't handle ActiveX at all?
Alos, please note that TestStand heavily takes use of ActiveX controls for implementation of UIs. You can implement your custom controls and remove the ActiveX interface completely from the UI panel, but that's nothing the NI UI examples do. I can imagine that these controls make Qt to throw the errors.
Again, i point out that NI never supported Qt, so you have to try a lot on your own.
Btw: What is the reason that you cannot use the UI as available as example?
Norbert
10-21-2014 08:21 AM - edited 10-21-2014 08:22 AM
The MFC UI code is specific to MFC, so copying that code to a Qt project is not likely to work. We do not currently have an example UI which uses Qt rather than MFC. As long as Qt supports hosting ActiveX controls it should be possible, but you would have to write such a UI yourself or find someone else who has already done so.
Hope this helps,
-Doug