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 10.6k 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.
  • 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