Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 4.8.5 QSerialPort Wince6 arm
Qt 6.12 LTS is out! See what's new in the release blog

Qt 4.8.5 QSerialPort Wince6 arm

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi everybody,

    i'm trying to use QSerialPort on a wince6 project.
    I'm using Qt 4.8.5

    I downloaded QSerialPort and compiled it (qmake,nmake and nmake install) but when i try to compile the sample project that use QSerialPort it gives me :

    @Error 1 error LNK2019: external symbol reference "__declspec(dllimport) public: virtual __cdecl QSerialPort::~QSerialPort(void)" (_imp??1QSerialPort@@UAA@XZ) unresolved in function __unwind$26661 main.obj

    Error 2 error LNK2019: external symbol reference "__declspec(dllimport) public: virtual void __cdecl QSerialPort::close(void)" (_imp?close@QSerialPort@@UAAXXZ) unresolved in functio __unwind$26661 main.obj @

    and so on

    How can i solve this problem?

    Thanks

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Maybe i found the solution:

      adding Qt\4.8.5\lib\QtSerialPortd.lib to the visualstudio Linker dependencies.

      I will make a try.

      Anothe question is..why i have only QtSerialPortd.dll? It is not the debug dll?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kuzulis
        Qt Champions 2020
        wrote on last edited by
        #3

        Hi.

        QtSerialPort wasn't tested in a proper way on WinCE. WinCE has an lowest priority for us, because we have not a appropriate hardware and so on.

        bq. I downloaded QSerialPort and compiled it (qmake,nmake and nmake install) but when i try to compile the sample project that use QSerialPort it gives me :

        After that it is necessary to include QtSerialPort module in your project file:
        [code]
        CONFIG += serialport
        [/code]

        bq. Anothe question is..why i have only QtSerialPortd.dll? It is not the debug dll?

        It is an Debug dll. To build the Release need do:
        [code]
        qmake path/to/qtserialport.pro GONFIG+=release
        nmake
        [/code]

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt
        • Unsolved