On Sonntag, 3. Mai 2020 06:20:22 CEST Ramakanth Kesireddy wrote:
> ,Hi,
>
> As am trying to cross-compile Qt 5.12.8 sources on Ubuntu 16.04(64 bit), it
> throws below error:
>
> V8 snapshot cannot be built. Most likely, the 32-bit host compiler does not
> work. Please make sure you have 32-bit de
,Hi,
As am trying to cross-compile Qt 5.12.8 sources on Ubuntu 16.04(64 bit), it
throws below error:
V8 snapshot cannot be built. Most likely, the 32-bit host compiler does not
work. Please make sure you have 32-bit devel environment installed, or
configure webengine with '-no-webengine-v8-snaps
On Saturday, 2 May 2020 12:14:47 PDT Doogster wrote:
> How do I mock QHostInfo::lookupHost() for unit testing?
>
> When I looked for a solution, all I found was someone who just gave up and
> said:
>
> "Unfortunately QHostInfo::lookupHost is a static method, so we can’t
> mock it."
For Qt's unit
I'm having trouble using an enum with Q_NAMESPACE, as a Q_PROPERTY type.
I'm trying to follow this:
https://www.kdab.com/new-qt-5-8-meta-object-support-namespaces/
I have the following enum:
-
namespace ConnectionState {
Q_NAMESPACE
enum class State : quint8 {Disconnected, Connecting, Conn
How do I mock QHostInfo::lookupHost() for unit testing?
When I looked for a solution, all I found was someone who just gave up and said:
"Unfortunately QHostInfo::lookupHost is a static method, so we can’t
mock it."
https://github.com/mumble-voip/mumble/pull/3170