diff options
| author | moneromooo.monero <moneromooo.monero@users.noreply.github.com> | 2016-12-15 23:47:53 +0000 |
|---|---|---|
| committer | moneromooo.monero <moneromooo.monero@users.noreply.github.com> | 2016-12-17 11:32:33 +0000 |
| commit | b882de8e1ccfd3965eddbfb90e75b7d6d229f32c (patch) | |
| tree | 27561a8f1d7f1c6f5d2faaf4dc914aafe507cf3a | |
| parent | aae35df77df6840851ba49198f944cd5862f3895 (diff) | |
| download | monzero-gui-b882de8e1ccfd3965eddbfb90e75b7d6d229f32c.tar.gz monzero-gui-b882de8e1ccfd3965eddbfb90e75b7d6d229f32c.tar.xz monzero-gui-b882de8e1ccfd3965eddbfb90e75b7d6d229f32c.zip | |
add zxcvbn to the qmake build system
| -rwxr-xr-x | build.sh | 4 | ||||
| -rw-r--r-- | monero-core.pro | 7 | ||||
| -rw-r--r-- | src/zxcvbn-c/zxcvbn.c | 2 |
3 files changed, 8 insertions, 5 deletions
@@ -17,6 +17,9 @@ if [ ! -d $MONERO_DIR ]; then $SHELL get_libwallet_api.sh $BUILD_TYPE fi +# build zxcvbn +make -C src/zxcvbn-c + if [ ! -d build ]; then mkdir build; fi if [ "$BUILD_TYPE" == "Release" ]; then @@ -27,7 +30,6 @@ else BIN_PATH=debug/bin fi - # Platform indepenent settings platform=$(get_platform) if [ "$platform" == "linux32" ] || [ "$platform" == "linux64" ]; then diff --git a/monero-core.pro b/monero-core.pro index 60fecd1f..ba2fadf1 100644 --- a/monero-core.pro +++ b/monero-core.pro @@ -34,7 +34,8 @@ HEADERS += \ src/QR-Code-generator/QrSegment.hpp \ src/daemon/DaemonManager.h \ src/model/AddressBookModel.h \ - src/libwalletqt/AddressBook.h + src/libwalletqt/AddressBook.h \ + src/zxcvbn-c/zxcvbn.h SOURCES += main.cpp \ @@ -56,7 +57,8 @@ SOURCES += main.cpp \ src/QR-Code-generator/QrSegment.cpp \ src/daemon/DaemonManager.cpp \ src/model/AddressBookModel.cpp \ - src/libwalletqt/AddressBook.cpp + src/libwalletqt/AddressBook.cpp \ + src/zxcvbn-c/zxcvbn.c lupdate_only { SOURCES = *.qml \ @@ -236,7 +238,6 @@ QMAKE_EXTRA_COMPILERS += langrel PRE_TARGETDEPS += langupd compiler_langrel_make_all - RESOURCES += qml.qrc # Additional import path used to resolve QML modules in Qt Creator's code model diff --git a/src/zxcvbn-c/zxcvbn.c b/src/zxcvbn-c/zxcvbn.c index f9678c54..ade7ab75 100644 --- a/src/zxcvbn-c/zxcvbn.c +++ b/src/zxcvbn-c/zxcvbn.c @@ -30,7 +30,7 @@ * **********************************************************************************/ -#include <zxcvbn.h> +#include "zxcvbn.h" #include <ctype.h> #include <string.h> #include <stdint.h> |
