What is the difference between examples?
-
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 ??
-
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 ??
@AnneRanch said in What is the difference between examples?:
proper Qt build
Is when you are building the Qt libraries itself
-
@AnneRanch said in What is the difference between examples?:
proper Qt build
Is when you are building the Qt libraries itself
@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 ".
-
@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 ".
@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)