Qt 调用外部C动态库

先写一个测试程序:函数 test.h测试 #include<stdio.h>spa test();io test.ctest #include<stdio.h> gcc test()构造函数 {gc printf("hello,1234");程序 }di 作成动态库,gcc -O -fPIC -shared -o libtest.so test.h test.c 将libtest.so和test.
相关文章
相关标签/搜索