diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2015-01-07 09:23:52 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-01-07 13:48:15 +0100 |
commit | df2d99bf2b6317e6cf1ebf4422b6e93e20754751 (patch) | |
tree | 45e66e4460073031df8c08f2b518fd6d9b6b76f6 /examples/app-and-lib/app | |
parent | 8c25d47a3e07c939ea5da0ab65c797ba14b94e21 (diff) |
Improve the "app and lib" example.
Make it more realistic by giving the library a header file, so the
example can demonstrate how to export an include path.
Change-Id: I4b55af8b86ef4fa0cddc3f29cefc5054e82c88cf
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'examples/app-and-lib/app')
-rw-r--r-- | examples/app-and-lib/app/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/app-and-lib/app/main.cpp b/examples/app-and-lib/app/main.cpp index 64fb7b7fb..eab054e8e 100644 --- a/examples/app-and-lib/app/main.cpp +++ b/examples/app-and-lib/app/main.cpp @@ -28,9 +28,8 @@ ** ****************************************************************************/ -#include <stdio.h> +#include <lib.h> -int bla(); int main() { return bla(); |