[Qt-interest] Linker Error I do not understand
Carsten Breuer
CarstenBreuerQt at textwork.de
Mon Jun 21 23:44:11 CEST 2010
Hi Mathias,
hi all,
schwerer Kunde² ;-).
you can grab dependecy walker to see what dlls and subdlls
are needed and what your dll export.
Are only the virtual functions are missing?
Sometimes this happens if a virtual function is declared,
but not initiated. Another problem is, that you use UI
inside the dll. That could be also a MOC problem.
I would first start without any conditions:
>contains(CONFIG, uEyeCameraDll):CONFIG += dll
>else:CONFIG += staticlib
>win32:uEyeCameraDll:DEFINES += UEYECAMERA_MAKEDLL
TEMPLATE = lib
DEFINES += UEYECAMERA_MAKEDLL
Works for me fine with dlls.
I was never able to create a static lib yet.
>the Class is build in a dll, which is linked with
> debug:LIBS += -L../lib/$${COMPILER}/debug/ -l$${LIBRARY_NAME}
Aehhmm..do you build debug?
Regards,
Carsten
More information about the Qt-interest-old
mailing list