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. [SOLVED] Qt Creator run error

[SOLVED] Qt Creator run error

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 3 Posters 7.5k 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
    tucnak
    wrote on last edited by
    #1

    Hi!

    Yesterday I've just built my Qt Creator with Qt 4.8.0. Now I am running it with terminal:
    <code>$ ./qtcreator</code>
    After that, I've got an error:
    <code>Failed to load core: Could not find 'Core.pluginspec' in /home/tucnak/Documents/QtCreator/build/lib/qtcreator/plugins,/home/tucnak/.local/share/data///Nokia/qtcreator/plugins/2.4.81
    </code>

    As I understood, there are missed files. But there are was no build errors while building. Maybe I have to <code>make install</code> qtcreator? Thanks.

    UPD1: My /home/tucnak/.local/share/data/ contains only 'Trolltech' folder with qt assistant files.
    UPD2: Qt 4.8.0, ubuntu 10.04.
    UPD3: https://bugreports.qt.nokia.com/browse/QTCREATORBUG-4278, is it that I am finding for?
    UPD4: My libCore.so makefile: http://pastebin.com/EW9C5aa3
    UPD5: After <code>make</code> in /src/plugins/coreplugin:
    <code>
    make: *** No rule to make target Core.pluginspec', needed by ../../../lib/qtcreator/plugins/Nokia/libCore.so'. Stop.
    </code>

    SOLVING: there was bug in makefile. You should to import Core.pluginspec from another WORKING qtcreator and change version in it.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tucnak
      wrote on last edited by
      #2

      HELP!

      Is here any COOL Qt Specialist, like Volker?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        danimo
        wrote on last edited by
        #3

        Looks like you are building with srcdir != builddir and you are indeed hitting what's described in QTCREATORBUG-4278, which is not really a bug of Qt Creator (but rather a qmake limitation which cannot be fixed). However, it's important that you have your build dir on the same level or below src dir. if they are on different levels, things can go horribly wrong:

        OK: src in /home/user/dev/qtcreator
        build in /home/user/dev/qtcreator-build

        OK: src in /home/user/dev/qtcreator
        build in /home/user/dev/qtcreator/build

        Not OK: src in /home/user/dev/qtcreator
        build in /tmp/qtcreator-build

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

          Danimo: Are you sure about the second OK? Those directories are not on the same level.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            danimo
            wrote on last edited by
            #5

            Yes, I am. Quote: "it’s important that you have your build dir on the same level or below src dir" :-).

            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