On quinta-feira, 29 de setembro de 2016 09:24:41 PDT Kapil Gupta wrote:
> /usr/include/python3.5m/object.h:445:23: error: expected unqualified-id
> before ‘;’ token
> PyType_Slot *slots; /* terminated by slot==0. */
Hint: when the error message from the compiler makes no sense, check the
pre
On 09/29/2016 05:54 AM, Kapil Gupta wrote:
I am using Boost::python for access to python code from c++.
When I included the `PythonLibs` and Boost::Python into my code, I
started having this error:
```
/usr/include/python3.5m/object.h:445:23: error: expected
unqualified-id before ‘;’ token
P
On Sep 28, 2016 10:54 PM, "Kapil Gupta" wrote:
>
> Hi,
>
> I am using Boost::python for access to python code from c++.
> When I included the `PythonLibs` and Boost::Python into my code, I
started having this error:
>
> ```
> /usr/include/python3.5m/object.h:445:23: error: expected unqualified-id
Hi,
I am using Boost::python for access to python code from c++.
When I included the `PythonLibs` and Boost::Python into my code, I started
having this error:
```
/usr/include/python3.5m/object.h:445:23: error: expected unqualified-id
before ‘;’ token
PyType_Slot *slots; /* terminated by slo
On 29 September 2016 at 10:31, Petric Frank wrote:
> Hello,
>
>
>
> i have a QGraphicsScenewhich i want to write to a file (*.png, ...).
>
>
>
> As documrmtation states i use the following:
>
> --- cut ---
>
> QGraphicsScene scene; // previously filled
>
>
Hello,
i have a QGraphicsScenewhich i want to write to a file (*.png, ...).
As documrmtation states i use the following:
--- cut ---
QGraphicsScene[1] scene; // previously filled
QRectF rect = scene->sceneRect ();
QImage img (rect.width () + 1, rect.height
On Wed, Sep 28, 2016 at 12:43:37AM +0300, Konstantin Tokarev wrote:
> > I quite like QML as a declarative markup language, but am less enthused
> > about
> > JavaScript. It seems like kind of a toy programming language. I'm a bit
> > shocked that you can write "code" where you can happily call fun
Hi Jason,
Thanks for wakeLock recommendation.
I may end up using wakeLock. Especially if it gives me a wider range of
supported Android devices and versions.
I ended up using a “final boolean” :
http://stackoverflow.com/questions/7761723/android-howto-pass-data-to-the-runnable-in-runonuit
Why not have two runnables? One that sets the flag and one that does not?
m_activity.runOnUiThread( ikeepScreenOn ? new Runnable() { ... keep screen on code... } : new Runnable { ...don't keep screen on... }
It might boove you to put the common code in one function though.
I personally
How can you pass an argument to QtActivity runOnUiThread ?
Example with no argument:
public void hide()
{
m_activity.runOnUiThread( new Runnable() {
@Override
public void run() {
if (m_dialog != null && m_dialog.isShowing())
On quarta-feira, 28 de setembro de 2016 11:02:36 PDT Etienne Sandré-Chardonnal
wrote:
> Dear all,
>
> I have a reproducible issue with qmake and headers dependency.
>
> A class header (myclassimp.h) is properly listed in the .pro HEADERS list,
> and its path is in DEPENDPATH (this is a relative
Hi!
I'm using Qt 5.6 with Quick Controls 1 on Linux.
I'm trying to get a special kind of scrollbar for my TableView.
Therefore I created my custom TableViewStyle which is a ScrollAreaStyle.
I'd want my scrollbar to behave almost like the default one when
ScrollAreaStyle::transientScrollBars is t
Konrad:
> Also: Javascript is not an OO language: you are supposed to have classes, not
> prototypes, for OO.
ES6 has proper classes.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes
Rob:
> I quite like QML as a declarative markup language, but am less enthused about
>
You don't have to do anything with accessibility. It happens in qt internals,
if Qt was compiled with accessibility support.
> On 28 Sep 2016, at 16:38, Jason H wrote:
>
>
> Thanks for the pointer, but I'm not doing anything with accessibility. :-/
>
>> Previously when I have seen these mess
Thanks for the pointer, but I'm not doing anything with accessibility. :-/
> Previously when I have seen these messages, it had to do with some
> accessibility property on the quick item, might be the case for you as well.
> I can't recall from the top of my head which one it was, but you can
>
On Wednesday, September 28, 2016 10:57:01 Rob Allan wrote:
> But even
> then, in most OO languages, this is implemented through strongly-typed
> interfaces - so that if you tried to "publish" a message that wasn't
> defined, you would get a compile error. Most OO languages - Smalltalk, C++
> C#, et
Dear all,
I have a reproducible issue with qmake and headers dependency.
A class header (myclassimp.h) is properly listed in the .pro HEADERS list,
and its path is in DEPENDPATH (this is a relative subfolder of the project
file)
The abstract class (defined in abstractclass.cpp) directly includes
Hi.
Previously when I have seen these messages, it had to do with some
accessibility property on the quick item, might be the case for you as well.
I can't recall from the top of my head which one it was, but you can
iteratively go through the TextField and ancestors QML files, and try to
comme
18 matches
Mail list logo