[英]GUI in using QT with data from c program
I am quite new to C++ and C. And I am wondering how to import some data from C program and using it in order to draw a GUI in c++ ? 我对C ++和C还是很陌生。我想知道如何从C程序中导入一些数据并使用它们以便在c ++中绘制GUI?
what happen if the C program has its own Library? 如果C程序具有自己的库,会发生什么? how to include it ?
如何包含呢?
I am working with Linux platform. 我正在使用Linux平台。
Thanks 谢谢
C++ is largely backwards compatible with C, so you can import the data from the C program "as is". C ++在很大程度上与C向后兼容,因此您可以按原样从C程序导入数据。
To link a C library to a QT application follow the instructions in the QMake manual to specify that the program should be linked. 要将C库链接到QT应用程序,请按照QMake手册中的说明指定应链接程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.