Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator 2.2 and Tool Chain for WinCE
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 2.2 and Tool Chain for WinCE

Scheduled Pinned Locked Moved Qt Creator and other tools
27 Posts 6 Posters 15.3k 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
    SteveKing
    wrote on last edited by
    #1

    I've just updated to Creator 2.2, and it's now complaining that it can't build my WinCE apps because it doesn't have a tool chain defined. The WinCE versions are compiled from Qt 4.7.2 and have worked with every previous version of Creator. Is there something I've missed in the configuration that causes this failure?

    Thanks,
    Steve

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Is the tool chain you need to build for WinCE listed in Tools->Options->Tool chains?

      Is the Qt version fully recognized in Tools->Options->Qt4? What is going wrong if it is not (very last line)? Could you please open a bug report about the issue, attaching your QtCore library for WinCE if the Qt version is not recognized?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SteveKing
        wrote on last edited by
        #3

        @Tobias:

        The tool chain isn't listed. When I use Creator 2.1 the Tool chain is shown as "Windows CE" but this doesn't appear in the list of available ones in 2.2. And I have no idea how to add it.

        The Qt version is fully recognised as far as I can tell, the last line (Above helpers: None available) says "Qt version 4.7.2, using mkspec wince50domino_sbc-mipsii-msvc2005" which is what I would expect.

        I'll raise a bug report stating that WinCE isn't included in the Tool Chain.

        Steve

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Are there MSVC tool chains listed?

          Which ABI does the Qt version give (hover over the Qt version, please)?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SteveKing
            wrote on last edited by
            #5

            MSVC is listed under the auto-detected tool chains, but it hasn't detected any CE versions. Not sure if it should have found them.

            It says arm-windows-ce-pe-unknown for the ABI.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SteveKing
              wrote on last edited by
              #6

              Now raised as "bug":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-5083

              1 Reply Last reply
              0
              • D Offline
                D Offline
                digikata
                wrote on last edited by
                #7

                I have a similar issue with Qt Creator 2.2.1 and an arm-linux Qt build that was previously working fine with Qt Creator 2.0. I've manually added the Qt 4.7.2 embedded build to the Qt versions, as well as manually added the toolchain. However, there doesn't seem to be a way to map the toolchain the the Qt version.

                Edit (add more info):
                In qt creator the abi of the toolchain reports as unknown-linux-generic-elf-unknown, it actually is a armv5tl-montavista-linux-gnueabi ( GCC/G++ 4.2.x )

                Though there is a "toolchain" field in the project build settings, selecting the manually added toolchain path doesn't seem to be an option.

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobias.hunger
                  wrote on last edited by
                  #8

                  digikata: Qt Creator examines your QtCore library and extracts an ABI from that. Any tool chain supporting that ABI is offered in the project settings to build your code with. There is no need to associate anything manually.

                  In the upcoming Qt Creator 2.3 (feature freeze was yesterday) you can override the ABI detected from the GCC compiler. Unfortunately that is not possible in Qt Creator 2.2.

                  Could you please tell me the output of your gcc's -dumpmachine? Is that armv5tl-montavista-linux-gnueabi? Then I can make sure to detect that properly in QtC 2.3 so you do not have to meddle with the overrides:)

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    digikata
                    wrote on last edited by
                    #9

                    Yes the dumpmachine is the armv5tl-montavista-linux-gnueabi.

                    My embedded Qt build was not autodetected. Maybe that because it's installed in /opt/qt4.7emb or it's a cross-compile host - can the QtCore lib still be inspected for across architectures?) I've removed and re-added my embedded Qt 4.7.2 build version - it was built with the the toolchain listed above, but still no mapping show up between the 4.7.2 embedded build and the toolchain.

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      tobias.hunger
                      wrote on last edited by
                      #10

                      Just add your Qt version manually and you should be fine with that.

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SteveKing
                        wrote on last edited by
                        #11

                        Tobias: Do you know if the changes for 2.3 will help with the CE problem I was having?

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          tobias.hunger
                          wrote on last edited by
                          #12

                          I do not know yet, but looking into that issue is on my todo list for 2.3.

                          I just hope I can get my hands on the wince tool chain for some testing:-)

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            SteveKing
                            wrote on last edited by
                            #13

                            If there's anything I can do to help let me know. I should be able to clear a couple of days between now and the end of July to help if needed.

                            1 Reply Last reply
                            0
                            • T Offline
                              T Offline
                              tobias.hunger
                              wrote on last edited by
                              #14

                              Oh, thanks! I'll remember that:-)

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                digikata
                                wrote on last edited by
                                #15

                                [quote author="Tobias Hunger" date="1309415562"]Just add your Qt version manually and you should be fine with that.[/quote]

                                I had already added the Qt version manually, but I can't build with that version because when build is selected, Qt creator pops up that the version has no toolchain. I've added the toolchain manually too, but there's nothing allowing me to assign that manually added toolchain for that Qt version. Actually there is a field in the project build options to select a toolchain, but when a toolchain is selected, the entry comes back blank. Is there a workaround that would allow me to build?

                                1 Reply Last reply
                                0
                                • T Offline
                                  T Offline
                                  tobias.hunger
                                  wrote on last edited by
                                  #16

                                  See my 3rd comment in this thread.

                                  1 Reply Last reply
                                  0
                                  • S Offline
                                    S Offline
                                    SteveKing
                                    wrote on last edited by
                                    #17

                                    @digikata: I haven't found a work around for this. I just keep an old version of Creator kicking around to do my CE builds.

                                    1 Reply Last reply
                                    0
                                    • F Offline
                                      F Offline
                                      fonzi337
                                      wrote on last edited by
                                      #18

                                      Anyone have a solution for this? I'm experiencing the same issue (Windows CE as well).

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        SteveKing
                                        wrote on last edited by
                                        #19

                                        @fonzi337

                                        I'm working on a fix for it, but it's not my day job so the work is going slowly.

                                        The current state is that I'm doing changes after a merge request so it might get in soon.

                                        If you're interested I can point you to the git repository I'm using and you could build a working version from that. Not ideal, but it might get you started...

                                        1 Reply Last reply
                                        0
                                        • F Offline
                                          F Offline
                                          fonzi337
                                          wrote on last edited by
                                          #20

                                          Thanks Steve. Yes, if you could point me to the git repository you're using that would be great. For the time being I'm stuck using command line to build Windows CE apps. :/

                                          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