Closed GoogleCodeExporter closed 9 years ago
Had this issue too. Used VC2008 as compiler. VC reported a lot of warnings /
errors,
when I used the Q_DECL_IMPORT as above, because the moc sources of the client
contain a
lot of the exported methods too. Used an empty QEXTSERIALPORT_EXPORT define for
the
import and added an additional linker setting for the lib?
Original comment by Michael....@treggs.com
on 7 Feb 2010 at 9:04
I am not sure if what you wrote was a question.
At any rate, to use my fix do the following:
1. Add qextserialport_global.h to the qextserialport project.
2. Replace the attached files with the corresponding ones in the project.
3. Define QEXTSERIALPORT_LIB (in MSVC you can add it to the preprocessor defines
4. Build.
If I haven't forgotten anything, this should be all.
Original comment by the...@gmail.com
on 7 Feb 2010 at 9:15
Thanks for sharing these - I'm just adding them now.
In the future, please provide your changes as a diff so it's easy to tell what
has changed.
Original comment by lst...@gmail.com
on 7 Feb 2010 at 10:14
Added.
Original comment by lst...@gmail.com
on 7 Feb 2010 at 10:20
Original comment by lst...@gmail.com
on 7 Feb 2010 at 10:20
Original issue reported on code.google.com by
the...@gmail.com
on 7 Feb 2010 at 8:19Attachments: