Switch to cmake + vcpkg, builds on linux, windows needs verification.
Code has been modified to be portable.
This commit is contained in:
parent
c1a5ac1aad
commit
49f6619a4e
34 changed files with 678 additions and 327 deletions
|
|
@ -150,7 +150,7 @@ QVariant StringToVariant(const std::string &str, Oid oid)
|
|||
|
||||
case Pgsql::oid_oid:
|
||||
case Pgsql::int8_oid:
|
||||
return v.operator int64_t();
|
||||
return QVariant::fromValue(static_cast<int64_t>(v));
|
||||
|
||||
case Pgsql::bool_oid:
|
||||
return v.operator bool();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue