Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Qt Creator Plugin]
Forum Updated to NodeBB v4.3 + New Features

[Qt Creator Plugin]

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 2.9k 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.
  • B Offline
    B Offline
    bkerdev
    wrote on last edited by
    #1

    Hello,
    I would like to create a plugin for my qtcreator, but when compiling, I get an error that I do not understand.
    Thank you for bringing your help.
    Here is the end of the compilation output:
    @c:/qtsdk1.2.1/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lAggregationd
    collect2: ld returned 1 exit status
    mingw32-make[1]: *** [..\qtcreator-build\lib\qtcreator\plugins\MyCompany\MyPlugind.dll] Error 1
    mingw32-make: *** [debug] Error 2
    07:41:34: Le processus "C:\QtSDK1.2.1\mingw\bin\mingw32-make.exe" s'est terminé avec le code 2.
    Erreur lors de la compilation/déploiement du projet myplugin (cible : Desktop)
    Lors de l'exécution de l'étape "Make"@

    Boris Bker

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

      It does not find the Aggregation library (debug version). Is the library with that name there (Aggregationd.dll) in the PATH or in the call to the linker?

      Did you declare the necessary dependency for your plugin?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bkerdev
        wrote on last edited by
        #3

        The solution I found is to recompile qt creator to have the dll I'm missing.
        Or do you know where I can find the dll?

        Boris Bker

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bkerdev
          wrote on last edited by
          #4

          I finally came to the compilation. And the process terminates normally.
          But I can not see my plugin.
          Because I have this compilation error output
          @Error reading C:/Qt/qtcreator-2.5.2/share/qtcreator/Nokia/toolChains.xml:7: Fin de document inattendue.
          Warning: Unable to restore tool chain 'Qt4ProjectManager.ToolChain.Maemo:{f9da3153-41a3-4804-8dce-626294592f6d}' stored in C:\Users\Boris\AppData\Roaming\Nokia\toolChains.xml.@

          Boris Bker

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

            That is a) happening at runtime, not compiletime and b) only a warning that you can most likely ignore.

            Is your plugin properly installed? If it is, then it will be listed in Help->About plugins. Make sure the "Load" checkbox is ticked, otherwise creator will just ignore it. If the loading failed this dialog should provide some hints as to what went wrong.

            1 Reply Last reply
            0
            • B Offline
              B Offline
              bkerdev
              wrote on last edited by
              #6

              Its not working. I tried everything. I still have the same error.

              Boris Bker

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

                Ignore the output, it is not critical in any way.

                What does Help->About plugins say about your plugin? Is it listed?

                Have you checked the dependencies of your plugin (e.g. running depends.exe on your binary)? Is everything found?

                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