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. Make issues with Qt Creator Plugin
Forum Update on Monday, May 27th 2025

Make issues with Qt Creator Plugin

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
11 Posts 3 Posters 1.4k Views
  • 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.
  • E Offline
    E Offline
    eloprey
    wrote on last edited by
    #1

    I am trying to make a Qt Creator Plugin library using the Qt Creator built from GitHub, but I keep running into issues at the make step of building the project. In the build settings I make with nmake.exe in C:\Users\Admin\Documents\build-myplugin-Unnamed-Debug because that is where the project folder resides. I also set the override to Visual Studio 2017's nmake.exe (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\Hostx86\x86\nmake.exe).

    This is the compile output:

    LINK : fatal error LNK1181: cannot open input file 'Cored4.lib'
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x86\link.EXE"' : return code '0x49d'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\Hostx86\x86\nmake.exe"' : return code '0x2'
    Stop.

    For background information, this is occuring for the default code for the Qt Creator Plugin template after configuration. Do I just need to make the appropriate changes in the build settings, or is there a bigger problem here? If the former, what changes do I make?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Something is not completely clear, did you compile Qt Creator yourself ?

      If not, are you using the same compiler, architecture and Qt version used to build the Qt Creator you are trying to build your plugin for ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      E 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Something is not completely clear, did you compile Qt Creator yourself ?

        If not, are you using the same compiler, architecture and Qt version used to build the Qt Creator you are trying to build your plugin for ?

        E Offline
        E Offline
        eloprey
        wrote on last edited by
        #3

        @SGaist Yes, I compiled Qt creator from the source code in the GitHub repository. A already had Qt version 5.12.0 so I just went from there.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What version of Qt Creator are you building ?

          By the way, Github is merely a mirror. You should download the code from https://code.qt.io

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          E 1 Reply Last reply
          2
          • SGaistS SGaist

            What version of Qt Creator are you building ?

            By the way, Github is merely a mirror. You should download the code from https://code.qt.io

            E Offline
            E Offline
            eloprey
            wrote on last edited by
            #5

            @SGaist I built Qt Creator version 4.9.0-beta1 which is based off Qt version 5.12.0

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Did you check for the presence of the Cored4.lib file in your Qt Creator build ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              E 1 Reply Last reply
              0
              • SGaistS SGaist

                Did you check for the presence of the Cored4.lib file in your Qt Creator build ?

                E Offline
                E Offline
                eloprey
                wrote on last edited by
                #7

                @SGaist I tried looking for it but I found another file called core4.dll

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  So you have a release build of Qt Creator and you are trying to build a debug version of your plugin.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  E 1 Reply Last reply
                  2
                  • SGaistS SGaist

                    So you have a release build of Qt Creator and you are trying to build a debug version of your plugin.

                    E Offline
                    E Offline
                    eloprey
                    wrote on last edited by
                    #9

                    @SGaist So, do I need to make a release version of the plugin instead?

                    aha_1980A 1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      That or a debug build of Qt Creator.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      2
                      • E eloprey

                        @SGaist So, do I need to make a release version of the plugin instead?

                        aha_1980A Offline
                        aha_1980A Offline
                        aha_1980
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        @eloprey Just to add to @SGaist,

                        it is a Windows problem that you can't mix debug and release libraries, nothing Qt specific.

                        It applies to all other applications too.

                        Qt has to stay free or it will die.

                        1 Reply Last reply
                        2

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved