diff --git a/examples/examples.pri b/examples/examples.pri index c55d26eb..0a399500 100644 --- a/examples/examples.pri +++ b/examples/examples.pri @@ -1,7 +1,7 @@ -# In a real application, you use the install prefix (eg /usr/local/include -# and /usr/local/lib). We just do this so you can see the examples -# without needing to install first. -INCLUDEPATH += ../../include +# In a real application, you use the install locations +# (eg /usr/local/include/QtCrypto and /usr/local/lib). We just do this +# so you can see the examples without needing to install first. +INCLUDEPATH += ../../include/QtCrypto LIBS += -L../.. # link diff --git a/examples/hashtest/hashtest.cpp b/examples/hashtest/hashtest.cpp index 084d7c60..d75a8893 100644 --- a/examples/hashtest/hashtest.cpp +++ b/examples/hashtest/hashtest.cpp @@ -20,7 +20,7 @@ */ // QtCrypto/QtCrypto has the declarations for all of QCA -#include +#include // needed for printf #include diff --git a/examples/mactest/mactest.cpp b/examples/mactest/mactest.cpp index 8c5bd7f6..d9ea92b9 100644 --- a/examples/mactest/mactest.cpp +++ b/examples/mactest/mactest.cpp @@ -20,7 +20,7 @@ */ // QtCrypto/QtCrypto has the declarations for all of QCA -#include +#include // needed for printf #include diff --git a/examples/providertest/providertest.cpp b/examples/providertest/providertest.cpp index 898f83fe..95329e1d 100644 --- a/examples/providertest/providertest.cpp +++ b/examples/providertest/providertest.cpp @@ -20,7 +20,7 @@ */ // QtCrypto/QtCrypto has the declarations for all of QCA -#include +#include #include #include