fsu0413:完整log放出来我看看
(2020-11-04 19:41)
i
内网开发,无法导出来,手敲一段:
iinvalid use of incomlete type 'class QtLocalePropertyManagerPrivate'
iin file included from debug\moc_qtpropertymamager.cpp:9:0:
forward declaration of 'class QtLocalePropertyManagerPrivate''
iin static member function 'static void QtLocalePropertyManager::qt_static_metacall(Qobject *,QMetaobject::call,int ,void*)'
基本上都是这种,这种的话一般是在qtLOcalepropertymanager.h中,声明了 class QtLocalePropertyManagerPrivate,在cpp中,又定义QtLocalePropertyManagerPrivate,并实现,源码直接调用没有问题,通过qtCreator封装成dll,在应用程序中调用dll就会出现这种问题。