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. Qt Creator 8.0.0 bug?
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 8.0.0 bug?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
5 Posts 4 Posters 522 Views 2 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.
  • posktomtenP Offline
    posktomtenP Offline
    posktomten
    wrote on last edited by
    #1

    Hey!
    I get this warning
    Not used
    but these libraries are used. In the *.pro file

    CONFIG (release, debug|release): LIBS += -L../lib6/ -lcheckupdate # Release
    else: CONFIG (debug, debug|release): LIBS += -L../lib6/ -lcheckupdated # Debugg
    
    CONFIG (release, debug|release): LIBS += -L../lib6/ -lcreateshortcut  # Release
    else: CONFIG (debug, debug|release): LIBS += -L../lib6/ -lcreateshortcutd # Debug
    
    CONFIG (release, debug|release): LIBS += -L../lib6/ -ldownload_install # Release
    else: CONFIG (debug, debug|release): LIBS += -L../lib6/ -ldownload_installd # Debug
    

    posktomten

    J.HilkJ 1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #3

      The stuff in the .pro file is about linking your app to that library.
      The warnings are about compilation of that particular file - nothing in that file uses anything from those headers so those #includes can probably be removed.

      1 Reply Last reply
      4
      • posktomtenP posktomten

        Hey!
        I get this warning
        Not used
        but these libraries are used. In the *.pro file

        CONFIG (release, debug|release): LIBS += -L../lib6/ -lcheckupdate # Release
        else: CONFIG (debug, debug|release): LIBS += -L../lib6/ -lcheckupdated # Debugg
        
        CONFIG (release, debug|release): LIBS += -L../lib6/ -lcreateshortcut  # Release
        else: CONFIG (debug, debug|release): LIBS += -L../lib6/ -lcreateshortcutd # Debug
        
        CONFIG (release, debug|release): LIBS += -L../lib6/ -ldownload_install # Release
        else: CONFIG (debug, debug|release): LIBS += -L../lib6/ -ldownload_installd # Debug
        
        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #2

        @posktomten they are used in your pro file, but nothing from those files is used inside the header/cpp where you include them


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        3
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #3

          The stuff in the .pro file is about linking your app to that library.
          The warnings are about compilation of that particular file - nothing in that file uses anything from those headers so those #includes can probably be removed.

          1 Reply Last reply
          4
          • posktomtenP Offline
            posktomtenP Offline
            posktomten
            wrote on last edited by
            #4

            Yes, thank you very much! I moved the "#include" to the *.cpp file where the library was used. No warnings!

            posktomten

            1 Reply Last reply
            0
            • JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by
              #5

              Actually it is a nice feature. My version 5.0.1 is sort of old.

              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