build system updates and other fixes

add preset config
import qt
separate core and frontend
This commit is contained in:
zhupengfei
2019-08-28 11:43:44 +08:00
parent d612b9cf37
commit fd5106759a
15 changed files with 723 additions and 46 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ struct KeyDesc {
bool same_as_before;
};
AESKey HexToKey(const std::string& hex) {
// TODO: Use this to support manual input of keys
[[maybe_unused]] AESKey HexToKey(const std::string& hex) {
if (hex.size() < 32) {
throw std::invalid_argument("hex string is too short");
}