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. A little bug in QtCreator3.4.2(OpenS) (Windows8.1, ChineseEnvironment)
Forum Updated to NodeBB v4.3 + New Features

A little bug in QtCreator3.4.2(OpenS) (Windows8.1, ChineseEnvironment)

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qtcreator
8 Posts 2 Posters 2.0k 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.
  • R Offline
    R Offline
    Ruilx
    wrote on last edited by
    #1

    Hi Everyone,
    I found a little bug in QtCreator 3.4.2 while I using a wizard to import external libraries to project.
    When I using an absolute path to import libraries, PRO file will add a "$$PWD/" before the path.
    Then I may receive a "No such file or directory" error in import path.
    You must remove "$$PWD/" in LIBS, INCLUDEPATH and DEPENDPATH:

    Before: LIBS += -L$$PWD/D:/Program/SomeComponenties/lib -lSCLIB #LINK ERROR
    After: LIBS += -LD:/Program/SomeComponenties/lib -lSCLIB #SUCCESS

    R 1 Reply Last reply
    0
    • R Ruilx

      Hi Everyone,
      I found a little bug in QtCreator 3.4.2 while I using a wizard to import external libraries to project.
      When I using an absolute path to import libraries, PRO file will add a "$$PWD/" before the path.
      Then I may receive a "No such file or directory" error in import path.
      You must remove "$$PWD/" in LIBS, INCLUDEPATH and DEPENDPATH:

      Before: LIBS += -L$$PWD/D:/Program/SomeComponenties/lib -lSCLIB #LINK ERROR
      After: LIBS += -LD:/Program/SomeComponenties/lib -lSCLIB #SUCCESS

      R Offline
      R Offline
      Ruilx
      wrote on last edited by
      #2

      Chinese:
      在使用QtCreator 3.4.2使用添加库向导导入一个使用绝对路径的外部库的时候PRO文件依然会加入"$$PWD/"在这个绝对路径的前面, 这会导致在连接的时候编译器会找不到库文件从而编译失败, 必须删除PRO工程文件的LIBS, INCLUDEPATH和DEPENDPATH行前的"$$PWD/"才能正常编译.

      请产品经理注意一下这个Bug, 如果QtCreator修复了此Bug, IDE将会更好.

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

        Hi and welcome to devnet,

        Can you check if that still happens with the current version (3.6)

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

        R 2 Replies Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          Can you check if that still happens with the current version (3.6)

          R Offline
          R Offline
          Ruilx
          wrote on last edited by
          #4

          @SGaist OK, I will try it immediately, thanks!

          1 Reply Last reply
          0
          • SGaistS SGaist

            Hi and welcome to devnet,

            Can you check if that still happens with the current version (3.6)

            R Offline
            R Offline
            Ruilx
            wrote on last edited by
            #5

            @SGaist
            I have tried QtCreator3.6.0, but this bug still exists.
            screenshot

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

              I get a bad request on your link but since it still does behave like that, you should then take a look at the bug report system to see if it's something known. If not please consider opening a new bug report for Qt Creator providing your system specification and a step by step guide to reproduce that.

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

              R 1 Reply Last reply
              0
              • SGaistS SGaist

                I get a bad request on your link but since it still does behave like that, you should then take a look at the bug report system to see if it's something known. If not please consider opening a new bug report for Qt Creator providing your system specification and a step by step guide to reproduce that.

                R Offline
                R Offline
                Ruilx
                wrote on last edited by
                #7

                @SGaist I have submitted a bug report to the system.
                description

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

                  Thanks !

                  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
                  0

                  • Login

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