[Interest] QtCompositor API : is it bit-rotting ?

2014-02-16 Thread Jean-Michaël Celerier
have liked to toy my own compositor ! Thank you very much, Jean-Michaël Celerier ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] LLDB hangs while being launched on Mac OS X

2014-09-29 Thread Jean-Michaël Celerier
A workaround that I found to work in the meantime if you can't upgrade / patch, is to assign and unassign a breakpoint in the code. --- Jean-Michaël Celerier Élève-ingénieur spécialisé en informatique ENSEIRB-MATMECA, Université Bordeaux 1 http://www.jcelerier.name On Sun, Sep 28, 2014

[Interest] Is QML the right tool for my job ?

2014-11-27 Thread Jean-Michaël Celerier
that it is better suited to the job, or should we stay on QGraphicsScene ? (we're going to completely rewrite anyway). Thank you very much ! --- Jean-Michaël Celerier http://www.jcelerier.name ___ Interest mailing list Interest@qt-project.org http

[Interest] Qt and Clang on Windows

2015-03-27 Thread Jean-Michaël Celerier
Hello, Did someone try to use Qt with Clang instead of MSVC on Windows ? Would a rebuild of Qt be necessary, or could one use MSVC-built Qt dlls in a CLang-built Qt application ? Best regards, Jean-Michaël --- Jean-Michaël Celerier http://www.jcelerier.name

Re: [Interest] [Marketing] Call for Papers to Qt World Summit now open

2015-05-18 Thread Jean-Michaël Celerier
regards, Jean-Michaël Celerier --- Jean-Michaël Celerier http://www.jcelerier.name On Mon, May 11, 2015 at 11:26 AM, Cioaca Anca anca.cio...@theqtcompany.com wrote: Hi Bo, The key dates are mentioned in the guidelines file. I have now updated the blog to include them in there as well

Re: [Interest] dynamic_cast failing

2015-04-12 Thread Jean-Michaël Celerier
dynamic_lookup to your linker. --- Jean-Michaël Celerier http://www.jcelerier.name ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Problem with setEnabled on QGraphicsItem

2015-04-09 Thread Jean-Michaël Celerier
, the mouse event don't get passed to the item under anymore ! If I do item-setInvisible(true); the mouse event gets passed to the item under again, but I want them to be visible... hence the setAcceptedMouseButtons, but it does not change anything when disabled. Any idea? Best, Jean-Michaël Celerier

Re: [Interest] Qt 5.4 and java (not Android)

2015-05-26 Thread Jean-Michaël Celerier
There is a repository on the web where different GUI toolkits are compared; Small examples for Qt5 are present. https://github.com/eugenkiss/7guis Best, Jean-Michaël --- Jean-Michaël Celerier http://www.jcelerier.name On Fri, May 22, 2015 at 9:23 AM, MONDON Daniel daniel.mon

Re: [Interest] cplusplus lib

2015-12-06 Thread Jean-Michaël Celerier
It's available on github and part of QtCreator I think. https://github.com/qtproject/qt-creator/tree/0954b3869781768b3466f98a70473a5c8a0f0667/src/libs/cplusplus Best, On Sat, Dec 5, 2015 at 2:37 PM, Igor Mironchik wrote: > Hi folks, > > Is anybody know link to the

[Interest] ItemModels, setData, and booleans

2015-12-07 Thread Jean-Michaël Celerier
Hello! When a QAbstractItemModel is used, how can I make it so that values are sent when the user chooses a value in a boolean combobox and not when the combobox looses focus ? My model has two columns, one "name" with a string and one "value" with booleans. ​ It is very simple and derived from

[Interest] Rendering of QGraphicsSvgItem via QSvgGenerator

2015-12-13 Thread Jean-Michaël Celerier
Hello, I am trying to render a graphics scene that contains some QGraphicsSvgItem and some QGraphicsItem. The QGraphicsItem render correctly as SVG when I import them in inkscape, but the QGraphicsSvgItem are rendered as PNG ! Is this a known problem ? Best regards Jean-Michaël Celerier

Re: [Interest] Rendering of QGraphicsSvgItem via QSvgGenerator

2015-12-13 Thread Jean-Michaël Celerier
On Sun, Dec 13, 2015 at 3:16 PM, william.croc...@analog.com < william.croc...@analog.com> wrote: > > > Hey Qt. You've got the SVG. It's in your hand. > Why output it as PNG. > > I was lucky because my QGraphicsSvgItem was the only > item in the scene, so I just added a special case to > bypass

[Interest] Displaying a QQuickWidget inside a QOpenGLWidget

2016-01-03 Thread Jean-Michaël Celerier
Is it possible in any way ? My screen becomes completely garbled when I do this : - QGraphicsView on a QOpenGLWidget viewport - QGraphicsProxyWidget - QQuickWidget inside the QGraphicsProxyWidget Best, Jean-Michaël ___ Interest mailing list

Re: [Interest] Raster Engine Issues

2016-06-10 Thread Jean-Michaël Celerier
Also, -fsanitize=address ; -fsanitize=undefined. On Fri, Jun 10, 2016 at 9:27 AM, Harri Porten wrote: > On Thu, 9 Jun 2016, Alper Sağlam wrote: > > I am deailing with qt backtrace from a core file, it looks like it is not >> reproducible (sporadic) and happened three

[Interest] Interesting blog post on QtQuick UI for games

2016-06-22 Thread Jean-Michaël Celerier
Here : http://zxstudio.org/blog/2016/06/22/using-qtquickqml-games/ Reactions ? Best, Jean-Michaël Celerier ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] universal builds on OS X

2016-06-23 Thread Jean-Michaël Celerier
ut I guess the hardest part would be all the signing that Xcode does to allow you to run some code you wrote on your 800$ iphone... Best, Jean-Michaël Celerier On Wed, Jun 22, 2016 at 10:16 PM, Thiago Macieira <thiago.macie...@intel.com > wrote: > On quarta-feira, 22 de junho de 2016 09:45:17 PDT K

Re: [Interest] QGraphicsScene & removing item

2016-06-26 Thread Jean-Michaël Celerier
> qgraphicsscene_bsp Maybe you can try to change the indexing mode. I remember having unexplainable crashes with the BSP tree in early 5.x versions... See : http://doc.qt.io/qt-5/qgraphicsscene.html#itemIndexMethod-prop Best Jean-Michaël On Sat, Jun 25, 2016 at 9:04 PM, Igor Mironchik

Re: [Interest] [ANN] build2 - C++ build toolchain

2016-02-09 Thread Jean-Michaël Celerier
On Tue, Feb 9, 2016 at 10:04 AM, Diego Iastrubni wrote: > > Integrating 3rd party software into Java/ObjC/Swift code is trivial, there > are lots of project handling this. Its very sad that in 2016 we still don't > have something like that can help integrating 3rd party

[Interest] Tempalted QObjects

2016-02-22 Thread Jean-Michaël Celerier
Hello, Following Oliver Goffart's blog bost : https://woboq.com/blog/moc-myths.html "For example, I implemented support for templated QObjects in moc , but this was not merged because it did not raise enough interest within the Qt project." I would

[Interest] Display QML in a QGraphicsScene ?

2016-02-28 Thread Jean-Michaël Celerier
w QGraphicsProxyWidget(this); // "this" is a QGraphicsItem proxy->setWidget(container); view->show(); But alas, what it does is that it opens the QML in a new window next to my app. Best regards, Jean-Michaël Celerier ___ Interest mailing list Interest@qt-p

Re: [Interest] Tempalted QObjects

2016-02-22 Thread Jean-Michaël Celerier
onc...@gmail.com> wrote: > Hello. > > On 22.02.2016 16:43, Jean-Michaël Celerier wrote: > > Hello, > Following Oliver Goffart's blog bost : > > https://woboq.com/blog/moc-myths.html > > "For example, I implemented support for templated QObjects in moc &

Re: [Interest] Tempalted QObjects

2016-02-24 Thread Jean-Michaël Celerier
On Wed, Feb 24, 2016 at 8:50 PM, Thiago Macieira wrote: > no compilers is currently able to merge implementations that > produce the same code, if they come from different functions. > Isn't this what MSVC's /OPT:ICF (

Re: [Interest] CLion to replace QtCreator?

2016-04-05 Thread Jean-Michaël Celerier
It's standard C++ code. (That I had to wait 5 minutes for to show up vs 2 seconds in QtC :) ) On Tue, Apr 5, 2016 at 9:09 PM, Emre Besirik <nome...@gmail.com> wrote: > > On 05 Apr 2016, at 22:03, Jean-Michaël Celerier < > jeanmichael.celer...@gmail.com> wrote: > > &g

Re: [Interest] Qt "Tools" GPLv3 Exception 1 Confusion

2016-04-08 Thread Jean-Michaël Celerier
On Fri, Apr 8, 2016 at 2:41 AM, d3fault wrote: > So since I wrote /path/to/main.cpp in Qt Creator, it’s “output from > this application”, and since it generates itself, it “generates output > from this application in it’s original […] form”. > I don't think that this

Re: [Interest] Qt "Tools" GPLv3 Exception 1 Confusion

2016-04-08 Thread Jean-Michaël Celerier
I think, by reading the whole paragraph, that you don't have the right to make for instance a tool that "wraps" moc / uic / rcc and use it under a non-LGPLv3 license. On Fri, Apr 8, 2016 at 9:11 AM, Jean-Michaël Celerier < jeanmichael.celer...@gmail.com> wrote: > > On Fri,

Re: [Interest] CLion to replace QtCreator?

2016-04-05 Thread Jean-Michaël Celerier
On Mon, Apr 4, 2016 at 4:22 PM, Emre Besirik wrote: > > it only searches for filenames, thats not what I meant only, if you could > checkout any jetbrains product, you’ll see the huge difference. > No it does not. If you type : "c NameOfMyClass" it will look for a class. If

Re: [Interest] CLion to replace QtCreator?

2016-04-05 Thread Jean-Michaël Celerier
le, method, or such just by typing its first few letters ? Others points are valid concerns, but I think that you should read the QtCreator manual a bit : http://doc.qt.io/qtcreator/creator-editor-refactoring.html http://doc.qt.io/qtcreator/creator-editor-locator.html Best, Jean-Michaël Celerier O

Re: [Interest] Qt and Unity

2016-03-29 Thread Jean-Michaël Celerier
On Mon, Mar 28, 2016 at 11:04 PM, Tyler Brown wrote: > Is there a Qt development environment that is as feature rich and easy to > use as Unity? I think that some people are working on a 3D editor implemented in term of Qt3D :

Re: [Interest] armv7a-hard-float in Qt android apps

2016-04-29 Thread Jean-Michaël Celerier
On Fri, Apr 29, 2016 at 1:55 PM, Ola Røer Thorsen wrote: > > float a = 1.0f; > float b = 2.0*a; // BAD! > float b = 2.0f*a; // Good! > Pretty sure that this would be a non-problem starting at -O1 optimization level. ___ Interest

Re: [Interest] armv7a-hard-float in Qt android apps

2016-04-30 Thread Jean-Michaël Celerier
Thorsen <o...@silentwings.no> wrote: > > > 2016-04-29 16:36 GMT+02:00 Jean-Michaël Celerier < > jeanmichael.celer...@gmail.com>: > >> >> On Fri, Apr 29, 2016 at 1:55 PM, Ola Røer Thorsen <o...@silentwings.no> >> wrote: >> >>> &

Re: [Interest] What's the recommended way to put QObjects in smart pointers?

2016-05-12 Thread Jean-Michaël Celerier
On Wed, May 11, 2016 at 9:56 PM, Nikos Chantziaras wrote: > > This results in code duplication, since you write the same cleanup code > everywhere. I'd argue that if you use RAII and have cleanup code in more than one place, you are not using RAII. But could you give an

Re: [Interest] using cmake to build Qt projects.

2016-05-05 Thread Jean-Michaël Celerier
> I am almost there, but when it links there are symbols undefined. > From my experience the symbols I am seeing are typical of missing moc files. You should still post your error messages I think, maybe it's some library that Qt links automatically but that you have to link by hand with CMake ?

Re: [Interest] What's the recommended way to put QObjects in smart pointers?

2016-05-05 Thread Jean-Michaël Celerier
On Thu, May 5, 2016 at 3:24 AM, Nikos Chantziaras wrote: > > By now, I consider application-level code that uses 'new' or 'delete' as > bogus and in need of fixing. This line of thought doesn't work at all with Qt. It's just how it is done .

Re: [Interest] Migration path from QGraphicsScene to QtQuick2

2016-04-15 Thread Jean-Michaël Celerier
On Fri, Apr 15, 2016 at 12:15 PM, Igor Mironchik wrote: > > > Can I ask you why you need to migrate from QGraphicsScene to QtQuick? Hi, I like the scene graph rendering being done in another thread, and more importantly I wish to provide the ability to write plug-ins

Re: [Interest] Is there any plan to make property binding working in C++?

2016-05-09 Thread Jean-Michaël Celerier
On Mon, May 9, 2016 at 7:41 AM, Thiago Macieira wrote: > > We already have one, it's called QObject::connect. > To be faire, to emulate property binding, I think that you also have to set the current value upon connection. Which isn't straightforward if you want to do

Re: [Interest] Statically linking an open-source application with Qt?

2016-07-27 Thread Jean-Michaël Celerier
On Tue, Jul 26, 2016 at 5:20 PM, Olivier B. < perso.olivier.barthel...@gmail.com> wrote: > I am not sure you are even able to link all Qt statically. Won't you at > least need platform plugins, image plugins, etc as shared libraries? It's possible and fairly easy to do : just do ./configure

Re: [Interest] Is it a LGPLv3 infringement to copy paste qFuzzyCompare implementation

2016-07-22 Thread Jean-Michaël Celerier
> I was pointed out that there's a potential LGPLv3 license infringement, although I understand where the FUD is coming from, I think that it is OK to read LGPLv3 source code to get inspired as long as you don't blindly copy/paste code (In my case i checked out quite a few articles and forum

Re: [Interest] Creating Qt Quick controls from C++

2016-07-19 Thread Jean-Michaël Celerier
On Tue, Jul 19, 2016 at 12:33 PM, Uwe Rathmann wrote: > > More details about my experiment will be presented at: https:// > conf.qtcon.org/en/qtcon/public/events/428 Is there some code somewhere ? I really want to use the Qt scenegraph but I'd much rather use C++ than

Re: [Interest] Reduce band-with usage while cloning qt

2017-02-08 Thread Jean-Michaël Celerier
You can try the following when cloning : git clone url://of/qt5.git --recursive --shallow-submodules --- Jean-Michaël Celerier http://www.jcelerier.name On Wed, Feb 8, 2017 at 6:20 PM, Soroush Rabiei <soroush.rab...@gmail.com> wrote: > Greetings > > I'm having a h

[Interest] Warnings with CMake when using Qt 5.8

2017-01-27 Thread Jean-Michaël Celerier
ven use) I guess that it's a Qt bug. Does someone know if it's something important ? Best Jean-Michaël Celerier ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Support for Visual Studio 2017

2017-02-23 Thread Jean-Michaël Celerier
Some MS guys said on reddit that VS2017 has ABI compatibility with VS2015, so maybe it'll just work ? Best, Jean-Michaël On Thu, Feb 23, 2017 at 10:28 AM, NoRulez wrote: > Thank you very much for the clarification > > > Am 23.02.2017 um 08:52 schrieb Thiago Macieira < >

Re: [Interest] Qt Creator does not "see" precompiled header

2017-02-15 Thread Jean-Michaël Celerier
On Wed, Feb 15, 2017 at 3:17 PM, Alexander Dyagilev wrote: > One has to write all these includes in every header file. Again and > again... :( > > That's the correct practice. Else you are just putting back the pain to the inevitable day where you encounter a bug in the PCH

Re: [Interest] QAudioDecoder mp3 problem

2016-09-01 Thread Jean-Michaël Celerier
Are you on OS X ? QAudioDecoder is not supported here (sadly). --- Jean-Michaël Celerier http://www.jcelerier.name On Wed, Aug 31, 2016 at 10:28 AM, Alexander Dyagilev <alervd...@gmail.com> wrote: > Hello, > > I'm trying to decode an mp3 file. Getting Serv

Re: [Interest] Status of Qt and WebAssembly, Emscripten, NaCl...

2016-09-29 Thread Jean-Michaël Celerier
Putting a "try it on the website" example on the webpage of my software so that people don't need to download it in order to take the "feel" of it and try some small examples. --- Jean-Michaël Celerier http://www.jcelerier.name On Thu, Sep 29, 2016 at 4:12 PM, Jason H &

Re: [Interest] Agile programming (Was: What don't you like about Qt?)

2016-10-05 Thread Jean-Michaël Celerier
On Wed, Oct 5, 2016 at 11:12 AM, Viktor Engelmann wrote: > It's okay for quickly evolving UX, but we are talking about > long-term concepts that need to provide stability and IMHO > that requirement is incompatible to agile programming. > > If for example you developed a

Re: [Interest] What don't you like about Qt?

2016-09-21 Thread Jean-Michaël Celerier
Hey, there is a lot of interesting points in all these answers; some similars, some not. Maybe a good way forward would be to try to pinpoint the problems more precisely with an online platform such as http://en.arguman.org/ ? Or even just some kind of google doc... Starting from there would

Re: [Interest] Dealing with Qt 4.x docs in Google searches (Was: "What don't you like about Qt?")

2016-09-18 Thread Jean-Michaël Celerier
On Sun, Sep 18, 2016 at 11:32 AM, Sze Howe Koh wrote: > > > > It lets you filter Google searches such that only your specified > version of Qt is shown. Nice, I use Firefox but that's a good

Re: [Interest] What don't you like about Qt?

2016-09-18 Thread Jean-Michaël Celerier
me at all but seems to bother a lot of people on forums : * They expect Qt to be only a GUI toolkit, not a full-blown application framework. But overall Qt rocks :p Best regards, --- Jean-Michaël Celerier http://www.jcelerier.name On Sat, Sep 17, 2016 at 10:20 PM, Sérgio Martins <iam

Re: [Interest] What don't you like about Qt?

2016-09-27 Thread Jean-Michaël Celerier
On Tue, Sep 27, 2016 at 11:43 PM, Konstantin Tokarev wrote: > > Qt metaobject system has same properties, e.g. you can assign or read > non-existing properties, connect to missing slots, etc. And thanks god using it like this isn't necessary to make Qt apps.

Re: [Interest] What don't you like about Qt?

2016-09-26 Thread Jean-Michaël Celerier
s entered, it might get tagged with the support >>> contract level I am on, but it's effectively out of my hands. >>> >>> >>> >>> > Sent: Wednesday, September 21, 2016 at 8:35 AM >>> > From: "Konstantin Tokarev" <annu...@yandex.ru

[Interest] Status of Qt and WebAssembly, Emscripten, NaCl...

2016-09-29 Thread Jean-Michaël Celerier
Hello, Is there an official "stance" on the Qt Project regarding the "C++ ported Web" platforms ? With 4.8 there was emscripten-qt, then Morten Sørvig did a lot of work on the wip/nacl branch but it seems a bit stale : https://github.com/qt/qtbase/tree/wip/nacl This post also showcases the use

Re: [Interest] Deploying Qt to MacOs still...errr, sucks?

2016-11-10 Thread Jean-Michaël Celerier
in Resources/qml/QtQuick (or others) to the actual qml plug-ins. Is all of this necessary ? Best, Jean-Michaël --- Jean-Michaël Celerier http://www.jcelerier.name On Thu, Feb 12, 2015 at 4:17 AM, Hamish Moffatt <ham...@risingsoftware.com> wrote: > On 12/02/15 05:11, Adam Li

Re: [Interest] What don't you like about Qt?

2016-10-18 Thread Jean-Michaël Celerier
On Tue, Oct 18, 2016 at 1:41 PM, Viktor Engelmann wrote: > > A key part in that article: *"A complex back-end data services hub — a > piece of software with zero actual, living, breathing end-users — has to be > described in terms of “user” stories. Does something sound

Re: [Interest] Linking static plugins on Linux

2016-10-24 Thread Jean-Michaël Celerier
I don't think that the Linux plug-in is QWindowsIntegrationPlugin... Maybe QXcb? Best, --- Jean-Michaël Celerier http://www.jcelerier.name On Thu, Sep 15, 2016 at 10:14 PM, Macumber, Daniel <daniel.macum...@nrel.gov > wrote: > Hello, I have an application which I am linking with

Re: [Interest] Slow graphics effect (due to _dl_resolve_runtime_avx)

2016-11-26 Thread Jean-Michaël Celerier
On Sat, Nov 26, 2016 at 12:08 PM, Ch'Gans wrote: > > Maybe the event loop is going crazy recursive or something like that? I once had a problem like this because I happened to call a function in my QGraphicsItem::paint(...) that I should not have been calling, such as moving

Re: [Interest] What don't you like about Qt?

2016-11-15 Thread Jean-Michaël Celerier
On Tue, Nov 15, 2016 at 12:32 PM, Roland Hughes wrote: > This was old school grind it out trouble shooting which is not allowed > under Agile. My two cents: "$FOO is not allowed" *screams* "not agile". ___ Interest

[Interest] Ammy: Interesting new UI language inspired from QML

2017-01-12 Thread Jean-Michaël Celerier
http://www.ammyui.com/#overview Best, --- Jean-Michaël Celerier http://www.jcelerier.name ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QVector / std::vector and memory alignment

2016-12-30 Thread Jean-Michaël Celerier
On Fri, Dec 30, 2016 at 2:03 PM, Philippe wrote: > > But this another case where Qt succeeds in its philosohphy of easing > programming. Well, I'm pretty sure that the goal of the standard C++ commitee is not to produce something "easy", but something extensible and

Re: [Interest] Which "Widget" technology to use when starting a new desktop app

2017-01-05 Thread Jean-Michaël Celerier
QWidgets and QML aren't incompatible, you can display a QML central widget with your image processing view with a QQuickView inside a QMainWindow, just like you would have used a QGraphicsView before. Best, Jean-Michaël --- Jean-Michaël Celerier http://www.jcelerier.name On Thu, Jan 5

Re: [Interest] including kde classes in qt

2017-01-08 Thread Jean-Michaël Celerier
, reading all these would give you some important insights I think : https://community.kde.org/Guidelines_and_HOWTOs ) Best Jean-Michaël --- Jean-Michaël Celerier http://www.jcelerier.name On Sun, Jan 8, 2017 at 8:24 AM, mayank bansiwal <mayankb8...@gmail.com> wrote: > hello mates. >

Re: [Interest] QtDesigner needs redesign.

2017-01-04 Thread Jean-Michaël Celerier
On Wed, Jan 4, 2017 at 11:58 AM, Viktor Engelmann wrote: > > Custom components in Qt are just QWidget derivates and they can be taken > from a designer plugin. This requires some extra code for making them > findable (+give them an icon and name etc.) and plugins are

Re: [Interest] Compile a debug build and link with release Qt

2017-01-10 Thread Jean-Michaël Celerier
On Tue, Jan 10, 2017 at 2:22 PM, Etienne Sandré-Chardonnal < etienne.san...@m4x.org> wrote: > and the executable is 600MB large If you're on linux, you could try debug fission, it makes for a much better experience : https://gcc.gnu.org/wiki/DebugFission

Re: [Interest] Build Qt with Gstreamer on Ubuntu

2017-01-14 Thread Jean-Michaël Celerier
You also need libgstreamer-plugins-base1.0-dev --- Jean-Michaël Celerier http://www.jcelerier.name On Sat, Jan 14, 2017 at 8:22 PM, Allan Sandfeld Jensen <k...@carewolf.com> wrote: > On Saturday 14 January 2017, Лагнер, Сергей wrote: > > Hello all. > > > >

Re: [Interest] Requesting QObject::bind() method

2017-03-24 Thread Jean-Michaël Celerier
On Fri, Mar 24, 2017 at 12:50 AM, Thiago Macieira wrote: > > The new value is already carried by the signal. We don't need the getter: > my > code examples already compile. > I really think that we do. For instance in the following code: #include #include

Re: [Interest] Requesting QObject::bind() method

2017-03-22 Thread Jean-Michaël Celerier
mp; obj1, Str1 str1, T2& obj2, Str2 str2) { static_assert(T1::template can_bind_sender<Str1, T2, Str2>(), "The types are not compatible"); T1::bind_sender(obj1, str1, obj2, str2); } int main() { foo f1; foo f2; bind(f1, "prop1"_s, f2, "prop1"_s); //

Re: [Interest] Getting a QImage from an QML Image, protocol, agnostic QImage?

2017-04-12 Thread Jean-Michaël Celerier
On Wed, Apr 12, 2017 at 12:43 PM, Roland Hughes wrote: > it is illegal to copy the image without the express written consent of the > copyright holder. > > Good to know that most image thumbnails hosted on google's server are illegal.

Re: [Interest] smoothest way to zoom/pan QGraphicsView?

2017-04-07 Thread Jean-Michaël Celerier
view to QtQuick 2 but it is roughly the same "laggy" performance. Best --- Jean-Michaël Celerier http://www.jcelerier.name On Fri, Apr 7, 2017 at 7:04 AM, Thiago Macieira <thiago.macie...@intel.com> wrote: > Em quinta-feira, 6 de abril de 2017, às 19:38:36 PDT, Pat

Re: [Interest] Moc fails using Qt 5.6

2017-04-10 Thread Jean-Michaël Celerier
I think that moc is not very up-to-date regarding its parsing of modern c++ features (like decimal separator). It also fails for me (macOS, qt 5.8) on this file. You should report a bug on the tracker (http://bugreports.qt.io/). Best Jean-Michaël --- Jean-Michaël Celerier http

Re: [Interest] Using QObject in different thread as the target of Connections

2017-03-08 Thread Jean-Michaël Celerier
I've opened an issue about this here : https://bugreports.qt.io/browse/QTBUG-59331 so if someone can chime in... Best, Jean-Michaël On Tue, May 17, 2016 at 7:36 AM, Elvis Stansvik wrote: > 2016-05-16 22:43 GMT+02:00 Thiago Macieira : > > On

Re: [Interest] Tired of QML

2017-04-18 Thread Jean-Michaël Celerier
Parent : http://doc.qt.io/qt-5/qml-qtqml-qtobject.html Basically, QQuickItem::parent == QObject::parent ; this function is not accessible from QML. Best --- Jean-Michaël Celerier http://www.jcelerier.name ___ Interest mailing list Interest@qt-proje

Re: [Interest] Does anyone have Qt3D running on any embedded board?

2017-07-31 Thread Jean-Michaël Celerier
There's already an issue on Qt3D raspberry pi problems (almost none of the example works): https://bugreports.qt.io/browse/QTBUG-59349 Best Jean-Michaël On Mon, Jul 31, 2017 at 11:47 AM, Christian Gagneraud wrote: > > > On 31/07/2017 8:41 pm, "Sean Harmer"

Re: [Interest] Mac: a bit of 10.9 love

2017-08-04 Thread Jean-Michaël Celerier
I personally have a sizeable chunk of my users stuck on OS X 10.6 because of some high-end (5k$ & more) audio software / hardware that they use in their recording studio which stopped working on later versions of this damn OS... --- Jean-Michaël Celerier http://www.jcelerier.name On

Re: [Interest] connect() is copying lambdas - can this be avoided?

2017-08-10 Thread Jean-Michaël Celerier
By moving it instead ? --- Jean-Michaël Celerier http://www.jcelerier.name On Thu, Aug 10, 2017 at 12:05 AM, Thiago Macieira <thiago.macie...@intel.com > wrote: > On quarta-feira, 9 de agosto de 2017 08:04:16 PDT Nikos Chantziaras wrote: > > It seems that connect() is cop

Re: [Interest] connect() is copying lambdas - can this be avoided?

2017-08-10 Thread Jean-Michaël Celerier
Great! So basically this is fixed in 5.10 right ? --- Jean-Michaël Celerier http://www.jcelerier.name On Thu, Aug 10, 2017 at 1:21 PM, Giuseppe D'Angelo <dange...@gmail.com> wrote: > > > Il 10 ago 2017 10:48 AM, "Jean-Michaël Celerier" < > jeanmichael

Re: [Interest] JS numbers to qint64

2017-07-12 Thread Jean-Michaël Celerier
JS numbers are stored as double AFAIK hence for big numbers the lowest bits will be less precise. --- Jean-Michaël Celerier http://www.jcelerier.name On Wed, Jul 12, 2017 at 11:53 AM, Shantanu Tushar <shaan...@gmail.com> wrote: > Hi, > > I'm trying to call a slot which a

Re: [Interest] Library shrinks during the Android build process

2017-07-14 Thread Jean-Michaël Celerier
It's certainly calling strip on your binary (to remove unneeded symbols). --- Jean-Michaël Celerier http://www.jcelerier.name On Fri, Jul 14, 2017 at 4:37 PM, Eric Braley <eric.bra...@sertintyone.com> wrote: > Basically, I'm compiling a library to use in an Android app.

Re: [Interest] sin wave with QPainterPath between two points

2017-07-20 Thread Jean-Michaël Celerier
You can just compute the sine directly : for(int i = 0; i < width; i++) { int x = i; int y = height / 2 + amplitude * std::sin(2 * M_PI * freq * i / width + phase); path.lineTo(x, y); } --- Jean-Michaël Celerier http://www.jcelerier.name On Thu, Jul 20, 2017 a

[Interest] Qt 3D showcase

2017-07-26 Thread Jean-Michaël Celerier
make a nice Qt3D example ? Best, --- Jean-Michaël Celerier http://www.jcelerier.name ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QGraphicsScene::addPixmap() pointer ownership

2017-08-08 Thread Jean-Michaël Celerier
The QGraphicsScene owns all the QGraphicsItem you add to it. --- Jean-Michaël Celerier http://www.jcelerier.name On Tue, Aug 8, 2017 at 7:24 PM, Nikos Chantziaras <rea...@gmail.com> wrote: > When adding a pixmap to a QGraphicsScene with: > > pixmapItem = scene.addPixmap(p

Re: [Interest] Interest Digest, Vol 68, Issue 13

2017-05-17 Thread Jean-Michaël Celerier
On Wed, May 17, 2017 at 9:30 PM, Roland Hughes wrote: > Unless the KDevelop crown did a complete and total about face with their > re-write and dropping of of most languages, Qt development with KDevelop > didn't use .pro files or the same make system. If that has

Re: [Interest] Is _GLIBCXX_USE_CXX11_ABI=0 defined in pre-build versions of Qt?

2017-06-22 Thread Jean-Michaël Celerier
On Thu, Jun 22, 2017 at 1:36 PM, Sérgio Martins wrote: > > I don't think Qt uses _GLIBCXX_USE_CXX11_ABI=0. It shouldn't even > care, since Qt doesn't use std:: in it's ABI. Hmm I think that it does : for instance QString::toStdString, QVector::toStdVector, etc...

Re: [Interest] QML disappointments

2017-06-23 Thread Jean-Michaël Celerier
On Fri, Jun 23, 2017 at 7:19 PM, wrote: > > Don't be rude with Qt Company. Maybe they're just following the opinion of > lot of Qt devs who think QtWidgets is not perfect and we need a new API and > render engine for modern GPU and new supported devices (mobiles, embedded

Re: [Interest] TableView in Qt Quick Controls 2

2017-06-26 Thread Jean-Michaël Celerier
On Mon, Jun 26, 2017 at 6:19 PM, Frederik Gladhorn wrote: > > > 5.10 is scheduled for the end of this year. I'd rather expect this to be in > 5.11 - mid next-year. I hope we'll have something sooner for people to play > with though, let's see. > Question: why must a

Re: [Interest] Qt 5.7 QuickControls 2 are not multitouch??

2017-05-01 Thread Jean-Michaël Celerier
; On 1 May 2017, at 01:31, Jean-Michaël Celerier < > jeanmichael.celer...@gmail.com> wrote: > > > > Bump. > > > > Even if Qt Quick Controls 2.0 are apparently gaining this feature in > 5.9.0, how would one go when writing custom QQuickItem, if multiple >

Re: [Interest] Qt 5.7 QuickControls 2 are not multitouch??

2017-05-01 Thread Jean-Michaël Celerier
Nuno Santos I just did this : https://github.com/jcelerier/ qml-creative-controls/blob/master/src/toucharea.cpp and it worked for my use case (I just need one finger per widget). --- Jean-Michaël Celerier http://www.jcelerier.name On Mon, May 1, 2017 at 3:38 PM, Nuno Santos <nuno

[Interest] Qt at the C++20 era

2017-05-01 Thread Jean-Michaël Celerier
. Best, --- Jean-Michaël Celerier http://www.jcelerier.name ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QPixmap and threads

2017-05-05 Thread Jean-Michaël Celerier
> If QPixmaps are forbidden outside the main GUI thread, why is it not written in the documentation? http://doc.qt.io/qt-5/thread-basics.html " All widgets and several related classes, for example QPixmap , don't work in secondary threads." Best Jean-Michaël

Re: [Interest] Qt 5.7 QuickControls 2 are not multitouch??

2017-04-30 Thread Jean-Michaël Celerier
Bump. Even if Qt Quick Controls 2.0 are apparently gaining this feature in 5.9.0, how would one go when writing custom QQuickItem, if multiple distinct items have to be able to receive touch events simultaneously ? Best Jean-Michaël --- Jean-Michaël Celerier http://www.jcelerier.name

Re: [Interest] Qt at the C++20 era

2017-06-27 Thread Jean-Michaël Celerier
And a prototype implementation testable online ! https://cppx.godbolt.org/ Best --- Jean-Michaël Celerier http://www.jcelerier.name On Tue, Jun 27, 2017 at 3:08 PM, Jean-Michaël Celerier < jeanmichael.celer...@gmail.com> wrote: > There's now a paper : http://www.open-std.org/jtc

Re: [Interest] Qt at the C++20 era

2017-06-27 Thread Jean-Michaël Celerier
There's now a paper : http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0707r0.pdf --- Jean-Michaël Celerier http://www.jcelerier.name On Tue, May 2, 2017 at 4:56 PM, Corentin <corentin.ja...@gmail.com> wrote: > > It was my understanding that Herb has a somewhat working

Re: [Interest] Poor retina support for QGraphicsView on macOS?

2017-10-07 Thread Jean-Michaël Celerier
iewport(w); ------- Jean-Michaël Celerier http://www.jcelerier.name On Sat, Oct 7, 2017 at 7:36 PM, Patrick Stinson <patrickk...@gmail.com> wrote: > Interesting. Can you suggest a sample size, or perhaps give a code > example? I’m sure how this works. Thanks! > > On Oct 7, 2017, at 10:0

Re: [Interest] PostgreSQL cross compile for Pi

2017-10-08 Thread Jean-Michaël Celerier
m time to time to make the overall thing easier to use. Best, --- Jean-Michaël Celerier http://www.jcelerier.name On Sat, Oct 7, 2017 at 8:58 PM, Andy <asmalo...@gmail.com> wrote: > I don't really want to play the "pile on" game (and sorry for hijacking >

Re: [Interest] Qt and Clang

2017-10-04 Thread Jean-Michaël Celerier
> Do I need to rebuild Qt if I want to start using clang as my build tools on Windows and Linux? At least on linux, clang and GCC share the same ABI and clang uses libstdc++ by default so you should be good. Best, --- Jean-Michaël Celerier http://www.jcelerier.name On Wed, Oct 4, 2017 a

Re: [Interest] Visual Studio 2015 / Qt 5.9.1 Application build - Qt-Includes - Final slash switch surprise...

2017-09-06 Thread Jean-Michaël Celerier
'The ... here' refers to the ellipsis at the end of your error message. Best, --- Jean-Michaël Celerier http://www.jcelerier.name On Wed, Sep 6, 2017 at 2:57 PM, Michael Hartung <qt-project.pyqt@infinite- drive.com> wrote: > Hi Thiago, > > Thanks for your answer. Unfortunat

Re: [Interest] strip: Customise Qt intaller, remove *.qt.io

2017-09-29 Thread Jean-Michaël Celerier
which also are updated sometimes twice when the maintenant tool also needs updating, for twice the frustration). Best, --- Jean-Michaël Celerier http://www.jcelerier.name On Fri, Sep 29, 2017 at 8:17 AM, Christian Gagneraud <chg...@gmail.com> wrote: > On 29 September 2017 at 12:44, Sz

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-26 Thread Jean-Michaël Celerier
I'd say that the simplest is to spin up a 32-bit docker image corresponding to your OS and do the build on it. --- Jean-Michaël Celerier http://www.jcelerier.name On Sat, Aug 26, 2017 at 10:03 AM, Christian Gagneraud <chg...@gmail.com> wrote: > On 26 August 2017 at 14:27, Olive

Re: [Interest] 32bits builds on 64bits Linux platform

2017-08-27 Thread Jean-Michaël Celerier
6). Best, --- Jean-Michaël Celerier http://www.jcelerier.name On Sun, Aug 27, 2017 at 3:02 AM, Christian Gagneraud <chg...@gmail.com> wrote: > On 27 August 2017 at 01:06, Jean-Michaël Celerier > <jeanmichael.celer...@gmail.com> wrote: > > I'd say that the simplest is to

Re: [Interest] change qt virtual keyboard style during run time

2017-10-09 Thread Jean-Michaël Celerier
es are scoped to their process (and child processes). Best, --- Jean-Michaël Celerier http://www.jcelerier.name On Mon, Oct 9, 2017 at 6:38 PM, Dmytro Haponov <dmytro.hapo...@gmail.com> wrote: > How can style of qvirtualkeyboard be changed during run time? > > > >

Re: [Interest] Poor retina support for QGraphicsView on macOS?

2017-10-07 Thread Jean-Michaël Celerier
lay in my experience. --- Jean-Michaël Celerier http://www.jcelerier.name On Sat, Oct 7, 2017 at 10:09 AM, Christian Gagneraud <chg...@gmail.com> wrote: > On 7 October 2017 at 16:11, Patrick Stinson <patrickk...@gmail.com> wrote: > > > > Hello! > > > > I

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Jean-Michaël Celerier
There are more or less as many MacOS 10.10 users than Linux users apparently, so by that logic Qt should be dropping Linux support altogether :p (according to https://www.netmarketshare.com/) --- Jean-Michaël Celerier http://www.jcelerier.name On Wed, Nov 29, 2017 at 4:46 AM, Jake

  1   2   >