Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 4.10.2
-
None
-
Windows 10, version 1909 (OS Build 18363.657). Qt version 5.12.4 with Qt Creator 4.10.2. with "Desktop Qt 5.12.4 MSVC2017 32bit" Build. see attached file.
Description
Following the instruction inĀ https://wiki.qt.io/How_to_link_to_a_dll, make the following modification:
Replace 'MYLIBRARY_EXPORT' with the 'MYLIBRARYSHARED_EXPORT' specified in the link above.
when building myProgram, you'll get the following error:
C:\Temp\test\myProgram\myLibrary\mylibrary.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x2B8.