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. Meaning of "src/"
Forum Updated to NodeBB v4.3 + New Features

Meaning of "src/"

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 886 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.
  • KonstantinosK Offline
    KonstantinosK Offline
    Konstantinos
    wrote on last edited by
    #1

    During debugging, is happening something that I cannot explain.

    Imagine we have the file abcd.cpp, in this directory me/abcd.cpp. In this file I have put some breakpoints. During debugging, the debugger gets into this file: src/abcd.cpp, and even though this file does not have any breakpoints (it says: "Warning: This file is outside the project directory"), the debuggers stops in the same lines that I put the breakpoints in me/abcd.cpp.

    Can someone explain to me why it is happening? And what exactly is the meaning and the purpose of "src/"? Who copied-pasted the file abcd.cpp from me/ to src/?

    Thanks in advance.

    jsulmJ 1 Reply Last reply
    0
    • KonstantinosK Konstantinos

      During debugging, is happening something that I cannot explain.

      Imagine we have the file abcd.cpp, in this directory me/abcd.cpp. In this file I have put some breakpoints. During debugging, the debugger gets into this file: src/abcd.cpp, and even though this file does not have any breakpoints (it says: "Warning: This file is outside the project directory"), the debuggers stops in the same lines that I put the breakpoints in me/abcd.cpp.

      Can someone explain to me why it is happening? And what exactly is the meaning and the purpose of "src/"? Who copied-pasted the file abcd.cpp from me/ to src/?

      Thanks in advance.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Konstantinos Does src/abcd.cpp file actually exist in the file system? Maybe it is just shown wrong? Can you show the PRO file?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • KonstantinosK Offline
        KonstantinosK Offline
        Konstantinos
        wrote on last edited by Konstantinos
        #3

        @jsulm said:

        @Konstantinos Does src/abcd.cpp file actually exist in the file system? Maybe it is just shown wrong? Can you show the PRO file?

        Hi jsulm. The file exists, it is in a completely different directory than this one that I work in, and this directory - file does not exist in .pro.

        Even the LIBS += "C:/Users/... has a different directory. Maybe a .dll file, has other directories inside?

        I cannot understand what is happening.

        Thanks.

        jsulmJ 1 Reply Last reply
        0
        • KonstantinosK Konstantinos

          @jsulm said:

          @Konstantinos Does src/abcd.cpp file actually exist in the file system? Maybe it is just shown wrong? Can you show the PRO file?

          Hi jsulm. The file exists, it is in a completely different directory than this one that I work in, and this directory - file does not exist in .pro.

          Even the LIBS += "C:/Users/... has a different directory. Maybe a .dll file, has other directories inside?

          I cannot understand what is happening.

          Thanks.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Konstantinos Then remove the wrong file and try again

          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