Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Considering Qt for WinCE
Forum Updated to NodeBB v4.3 + New Features

Considering Qt for WinCE

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 4 Posters 3.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.
  • S Offline
    S Offline
    SilentVOX
    wrote on last edited by
    #1

    Hi all,

    I am considering to learn and use Qt to develop a navigation software for WinCE 6. However i'm worried if I will be able to do the following things in Qt

    1. I need to connect to WinCe comm port

    2. I need to make use of custom fonts

    3. Does Qt have it's own 2d rendering engine or it wraps gdi? I want antialiasing.

    Can anyone tell me how to do that in Qt.

    Thanks

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2
      1. There are some libraries for com-ports at qt-apps.org
      2. Antialising is available in Graphics Framework (you can read more in Assistant)
      1 Reply Last reply
      0
      • S Offline
        S Offline
        SilentVOX
        wrote on last edited by
        #3

        Or, considering it's C++, can I simply call WinAPI functions and interact with them ?

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DenisKormalev
          wrote on last edited by
          #4

          Of course you can use platform-specific libraries and APIs. But I think it will be better first to discover is there needed functionality in Qt or not. Just in case if you will want port it to another platforms in one moment and for better look of you sources too.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            snowpong
            wrote on last edited by
            #5
            1. I need to connect to WinCe comm port

            There is no direct support in Qt for doing this. But no big problem, you'd just have to write some C / C++ code calling whatever Microsoft provides for communicating with the ports.

            1. I need to make use of custom fonts

            I'd just try and install the font on the device, then run the example spesified here http://doc.qt.nokia.com/4.6/qfontdatabase.html#details to get the list of all the fonts it finds to see if Qt picks it up.

            Or you could try and just load it directly: http://doc.qt.nokia.com/4.6/qfontdatabase.html#addApplicationFont - I'm not sure if it works for WinCE though :)

            1. Does Qt have it’s own 2d rendering engine or it wraps gdi? I want antialiasing.

            Yes, Qt has it's own rendering engine. It doesn't use GDI for anything but blit - so yeah, you get antialiasing.

            Good luck :)

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kalle
              wrote on last edited by
              #6

              You also need to be prepared that you will hit WinCE's resource limits very quickly if you are just using a stock Qt for Windows CE. You need to slim down Qt considerably by removing the parts you don't want/need in your application. Doing without QtWebkit goes a long way, for starters.

              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 Extensions
              • Unsolved