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. PyQt On A Windows CE Computer Possible?
QtWS25 Last Chance

PyQt On A Windows CE Computer Possible?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
12 Posts 5 Posters 3.2k Views
  • 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.
  • P Offline
    P Offline
    paulgc
    wrote on last edited by paulgc
    #1

    I am researching whether or not to use Python and PyQt to make an application for a low powered computer that has Windows CE installed and I was wondering if it is even possible.
    I was told by someone that I was better off using C++ and regular Qt and that even Java can't run reliably on a Windows CE OS.
    I have more experience in Python and Java than in C++ which is why and wanted to avoid C++.
    I also hear C# with Microsoft's Visual Studio is a good choice for Windows CE development, but I have zero experience in C#.

    So, would your advice be to stick with Python and PyQt, switch to C++ because PyQt won't work, or learn C# to use Visual Studio tools made by Microsoft themselves?

    Thank you for any help and advice you can give.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      AFAIK, there's no official port of Python for that platform. Since you also mention low powered, it's definitely a vote for C++.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi and welcome to devnet,

        AFAIK, there's no official port of Python for that platform. Since you also mention low powered, it's definitely a vote for C++.

        P Offline
        P Offline
        paulgc
        wrote on last edited by
        #3

        @SGaist Thank you for your reply. I wasn't sure before if there was PyQt support or not. Now I know. I will look into brushing up on my C++ then.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          PyQt has nothing to do with that. Python itself is not there.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi
            if you are used to Python + PyQt then c++ wont look that different as im no
            python user at all, but i can still read most PYQt code directly so i think its a
            huge plus compared to learning c# and its GUI framework.

            JonBJ 1 Reply Last reply
            0
            • mrjjM mrjj

              Hi
              if you are used to Python + PyQt then c++ wont look that different as im no
              python user at all, but i can still read most PYQt code directly so i think its a
              huge plus compared to learning c# and its GUI framework.

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #6

              @mrjj said in PyQt On A Windows CE Computer Possible?:

              if you are used to Python + PyQt then c++ wont look that different as im no
              python user at all, but i can still read most PYQt code directly

              The problem isn't reading Python/PyQt code correctly, it's writing it correctly!

              @paulgc
              Are you saying you do or do not have experience with Qt versus Microsoft frameworks?

              mrjjM P 2 Replies Last reply
              0
              • JonBJ JonB

                @mrjj said in PyQt On A Windows CE Computer Possible?:

                if you are used to Python + PyQt then c++ wont look that different as im no
                python user at all, but i can still read most PYQt code directly

                The problem isn't reading Python/PyQt code correctly, it's writing it correctly!

                @paulgc
                Are you saying you do or do not have experience with Qt versus Microsoft frameworks?

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @JonB
                Hi
                My point was that the opposite should also apply. Seeing c++
                samples should also read a bit like Python version. ( with a lots of Self thrown in)

                JonBJ 1 Reply Last reply
                0
                • mrjjM mrjj

                  @JonB
                  Hi
                  My point was that the opposite should also apply. Seeing c++
                  samples should also read a bit like Python version. ( with a lots of Self thrown in)

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by JonB
                  #8

                  @mrjj
                  And hi to you too!
                  My point is: I find writing in Python is quite a bit different from C++. It's not a problem understanding other language examples, it's choosing which language you write the code in.
                  OP said:

                  I have more experience in Python and Java than in C++ which is why and wanted to avoid C++.

                  1 Reply Last reply
                  0
                  • mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Yeah i assume for all the non Qt stuff , it will be very different.
                    Python would be his best bet but seems the CE python is very old.
                    https://sourceforge.net/projects/pythonce/files/

                    1 Reply Last reply
                    0
                    • JonBJ JonB

                      @mrjj said in PyQt On A Windows CE Computer Possible?:

                      if you are used to Python + PyQt then c++ wont look that different as im no
                      python user at all, but i can still read most PYQt code directly

                      The problem isn't reading Python/PyQt code correctly, it's writing it correctly!

                      @paulgc
                      Are you saying you do or do not have experience with Qt versus Microsoft frameworks?

                      P Offline
                      P Offline
                      paulgc
                      wrote on last edited by
                      #10

                      @JonB Sorry for the late reply. I have more experience with Java Swing and a little with tkinter. A coworker recommended Qt as he has worked with it a lot, but I just don't know how to get it to compile to a Windows 7 Embedded target. I am still trying to get a simple Qt example to compile and run on Windows 7 Embedded and can't seem to find the right compiler in Qt Creator. Also, Visual Studio 2008 Professional is not easy to find.

                      jsulmJ 1 Reply Last reply
                      0
                      • P paulgc

                        @JonB Sorry for the late reply. I have more experience with Java Swing and a little with tkinter. A coworker recommended Qt as he has worked with it a lot, but I just don't know how to get it to compile to a Windows 7 Embedded target. I am still trying to get a simple Qt example to compile and run on Windows 7 Embedded and can't seem to find the right compiler in Qt Creator. Also, Visual Studio 2008 Professional is not easy to find.

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @paulgc said in PyQt On A Windows CE Computer Possible?:

                        can't seem to find the right compiler in Qt Creator. Also, Visual Studio 2008 Professional is not easy to find.

                        Did you install any compiler? QtCreator should auto-detect MS compilers. You can check in QtCreator in "Tools/Options.../Build & Run/Compilers".
                        To build Qt you do not need QtCreator.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        P 1 Reply Last reply
                        1
                        • jsulmJ jsulm

                          @paulgc said in PyQt On A Windows CE Computer Possible?:

                          can't seem to find the right compiler in Qt Creator. Also, Visual Studio 2008 Professional is not easy to find.

                          Did you install any compiler? QtCreator should auto-detect MS compilers. You can check in QtCreator in "Tools/Options.../Build & Run/Compilers".
                          To build Qt you do not need QtCreator.

                          P Offline
                          P Offline
                          paulgc
                          wrote on last edited by
                          #12

                          @jsulm I used the QtSerialport example and compiled it with as a release. I went into that folder and put it on a flashdrive. The executable worked once I put a bunch of dlls and the include folder in the same folder as the release folder that I copied to a flashdrive. I used the Desktop Qt 5.6.3 minGW 32bit2 kit, but I don't know the specifics of compiling to a target system that the application wasn't built on. And I have zero experience with Qt, which makes me even more lost.

                          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