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. [Moved] Qt Creator 2.3 can’t detect ABI for embedded platform
Qt 6.11 is out! See what's new in the release blog

[Moved] Qt Creator 2.3 can’t detect ABI for embedded platform

Scheduled Pinned Locked Moved Qt Creator and other tools
17 Posts 4 Posters 11.1k 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.
  • I Offline
    I Offline
    isavaskan
    wrote on last edited by
    #5

    I opened a bug.
    I tried Qt Creator 2.2.1. It fails too.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #6

      [quote author="isavaskan" date="1316611741"]I opened a bug.
      I tried Qt Creator 2.2.1. It fails too.[/quote]

      It would be nice, if you could report back the issue id here, so that others can find it more easily. Thanks.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • I Offline
        I Offline
        isavaskan
        wrote on last edited by
        #7

        The url of the issue is https://bugreports.qt.nokia.com/browse/QTCREATORBUG-6152

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

          I am surprised that Qt Creator 2.2.1 is failing here. It does not have the relevant code yet. Qt Creator 2.3.1 will fail.

          I am currently having a patch in codereview that will open all tool chains for use whenever we fail to detect a Qt version fully, so I hope Qt Creator 2.4 will cover this use case again. Sorry for the inconvenience, we underestimated the use case quite a bit it seems:-(

          1 Reply Last reply
          0
          • I Offline
            I Offline
            isavaskan
            wrote on last edited by
            #9

            When I run Qt Creator 2.2.1 from console it says:

            Warning: Could not find ABI for '/usr/local/Trolltech/QtEmbedded-4.7.0-sh4/mkspecs/qws/linux-sh4-g++' ('Qt 4.7.0 sh4', /usr/local/Trolltech/QtEmbedded-4.7.0-sh4/bin/qmake)/sh4-linux-g++ by looking at /usr/local/Trolltech/QtEmbedded-4.7.0-sh4/lib/libQtCore.so.4.7.0:Qt Creator does not know about the system includes, nor the system defines.

            So, I think 2.2.1 checks core lib for ABI too.

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

              Oh, you are right of course:-( Sorry, I misremembered that.

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

                The issue should be fixed in master. Please give it a try.

                1 Reply Last reply
                0
                • I Offline
                  I Offline
                  isavaskan
                  wrote on last edited by
                  #12

                  Yes, it is fixed.
                  Thanks

                  1 Reply Last reply
                  0
                  • I Offline
                    I Offline
                    isavaskan
                    wrote on last edited by
                    #13

                    Oops!
                    I suppose current Qt Creator doesn't save my tool chain configuration.
                    Firstly, I define my custom tool chain with the ABI settings: sh-linux-generic-elf-32bit. But when I restart the program, the ABI of manually added tool chain shows: unknown-linux-generic-elf-unkonwn.

                    Also, I can debug program on device using Debug > Start Debugging > Attach to Remote Debug Server.
                    But If I use Debug button (or press F5), the debugger says:
                    Reading debug information failed:
                    <executable path>: could not open as an executable file: Invalid bfd target

                    I think there are still some little issues with sh architecture.

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

                      I might have fixed that today when fixing a typo in the abi.cpp file:-)

                      1 Reply Last reply
                      0
                      • I Offline
                        I Offline
                        isavaskan
                        wrote on last edited by
                        #15

                        Ok. Qt Creator remembers the tool chain now.

                        But I encounter the problem mentioned my previous post about debugging.
                        Please specify whether the problem is related to ABI detection or not.

                        Thanks.

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

                          I happened to notice your tool chain issue by chance here... if you do not want to rely on chance alone to get your issues fixed, then please "file bug reports":http://bugreports.qt.nokia.com/.

                          1 Reply Last reply
                          0
                          • I Offline
                            I Offline
                            isavaskan
                            wrote on last edited by
                            #17

                            You are right. I filed the issue with no 6181

                            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