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. What is the difference between examples?
Forum Updated to NodeBB v4.3 + New Features

What is the difference between examples?

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

    I have added MDI example to my SUB DIRS project, works as expected.
    Now I am trying to add another example and getting this familiar error.

    So what is the difference between using these examples?
    I do not need to execute the btscanner, just like to have it "under one roof ".
    BUT what is "proper Qt build" anyway ??

    50e90a51-f0cf-4c80-8e5c-f3e0ff95fffe-image.png

    VRoninV 1 Reply Last reply
    0
    • A Anonymous_Banned275

      I have added MDI example to my SUB DIRS project, works as expected.
      Now I am trying to add another example and getting this familiar error.

      So what is the difference between using these examples?
      I do not need to execute the btscanner, just like to have it "under one roof ".
      BUT what is "proper Qt build" anyway ??

      50e90a51-f0cf-4c80-8e5c-f3e0ff95fffe-image.png

      VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      @AnneRanch said in What is the difference between examples?:

      proper Qt build

      Is when you are building the Qt libraries itself

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      A 1 Reply Last reply
      0
      • VRoninV VRonin

        @AnneRanch said in What is the difference between examples?:

        proper Qt build

        Is when you are building the Qt libraries itself

        A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        @VRonin Please elaborate and correct me .
        I run "git" on Qt example "qtconnectivity" .
        I am using "Add existing projects" AKA specifying btscanner,pro file .
        .pro file is a project file (make) , not a library
        both SUB_DIRS adds syntax are identical
        ONE works the other does not.

        I feel that saying "QT is a library" ( no, you did not say that, but other do ) is not helping , just not very descriptive. I think there is a difference compiling a library in C language sense and term "library" perpetuated by "toy computer manufacturing company ".

        VRoninV 1 Reply Last reply
        0
        • A Anonymous_Banned275

          @VRonin Please elaborate and correct me .
          I run "git" on Qt example "qtconnectivity" .
          I am using "Add existing projects" AKA specifying btscanner,pro file .
          .pro file is a project file (make) , not a library
          both SUB_DIRS adds syntax are identical
          ONE works the other does not.

          I feel that saying "QT is a library" ( no, you did not say that, but other do ) is not helping , just not very descriptive. I think there is a difference compiling a library in C language sense and term "library" perpetuated by "toy computer manufacturing company ".

          VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by VRonin
          #4

          @AnneRanch said in What is the difference between examples?:

          I run "git" on Qt example "qtconnectivity" .

          What do you mean "run"? clone? if so where are you cloning from?

          I am using "Add existing projects" AKA specifying btscanner,pro file .

          Just tried it, works fine using the examples shipped with Qt Maintenance Tool. Given your error says "inside the source tree" could you click on the "project" button on the left of Qt Creator, then under "Build Settings" you see a field called "build directory", what do you have in that field?

          I feel that saying "QT is a library" ( no, you did not say that, but other do ) is not helping

          Basically Qt itself is a bunch of library projects (just as those you can create yourself) written in C++ that you then use in your program. Those libraries get compiled into the final result that you can find in the bin folder of your Qt installation. When I said:

          Is when you are building the Qt libraries itself

          What I mean is "when you are creating the products that go in the bin directory of Qt"

          just not very descriptive.

          It is very descriptive, it's a technical term: https://en.wikipedia.org/wiki/Library_(computing)

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          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