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.
相關文章
相關標籤/搜索