Re: [Interest] Windows: "loadlibrary failed with error 87" on a configuration with a fake video card?

2022-03-23 Thread alexander golks
Am Tue, 22 Mar 2022 09:28:05 -0300 schrieb Thiago Macieira : > On Tuesday, 22 March 2022 04:13:27 -03 Alexander Dyagilev wrote: > > Why does it attempts to load this driver at all, if QT_OPENGL=software > > is set?.. > first i laughed having seen exact same error message at a colleague's vs

Re: [Interest] wss:// on localhost

2020-07-28 Thread alexander golks
Am Tue, 28 Jul 2020 08:05:46 +0200 schrieb Alexander Carôt : > Hallo Marten, > > thanks for your additionl reply ! > > There are two reasons why I have to use a secure websocket: > > 1.) In some cases our website connects to our app not on localhost but some > other place on the LAN. > > 2.)

Re: [Interest] How to get a column data from QTableWidget

2020-05-29 Thread alexander golks
> void MainWindow::on_tableWidget_itemDoubleClicked(QTableWidgetItem *item) > > { > > QString data = item->col(my_intended_col_index).toString(); // > no such function maybe something like: QString = tableWidget->item(item->row(),my_intended_col_index).toString(); alex< --

Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread alexander golks
Am Tue, 21 Apr 2020 10:46:02 +0200 schrieb Yves Maurischat : > ... > For Qt itself it may be great, for other (differentyl structured) > projects it's often not worth the hassle. > ... > besides, is there an easy offline upgrade way available now using IFW? -- /* * Your aims are high, and

Re: [Interest] transaction modes in QtSql

2020-04-14 Thread alexander golks
Am Tue, 14 Apr 2020 09:01:19 + schrieb Hamish Moffatt : > Some database engines allow you to set properties of a database > transaction, like read only versus read/write, isolation level etc. > > It looks like in Postgres you would use an SQL command line like 'start > transaction

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-03-27 Thread alexander golks
Am Fri, 27 Mar 2020 17:11:16 +0100 schrieb Jean-Michaël Celerier : > It is also the license of the binaries that you can download there : > https://download.qt.io/official_releases/qtcreator/4.11/4.11.1/ > > And it states quite succintly : > "This License explicitly affirms your unlimited

Re: [Interest] Qt Creator licensing for companies with Qt Commercial developers

2020-03-27 Thread alexander golks
Am Fri, 27 Mar 2020 16:45:55 +0100 schrieb Jean-Michaël Celerier : > > Answer to this is: No, it is not allowed to mix commercial "Licensed > Software" and the open-source versions provided by The Qt Company in the > same project. > > What about open-source versions provided by another

Re: [Interest] maintenance tool cannot download, qt.io too slow

2020-03-04 Thread alexander golks
ow to fix this, will ask on their github. thanks ;) > > Best, > Jean-Michaël > > > On Wed, Mar 4, 2020 at 9:05 AM alexander golks wrote: > -- /* * panic("esp: what could it be... I wonder..."); * linux-2.2.16/drivers/scsi/esp.c */ pgpBpprG_IOUO.pgp De

Re: [Interest] maintenance tool cannot download, qt.io too slow

2020-03-04 Thread alexander golks
Am Wed, 4 Mar 2020 09:45:40 + schrieb Kai Köhne : > Hi, > > We noticed the same (or at least similar) issues with the online installer > and open source downloads from Berin. > > I filed https://bugreports.qt.io/browse/QTWEBSITE-915 yesterday, let's hope > this get resolved soon. thanks!

[Interest] maintenance tool cannot download, qt.io too slow

2020-03-04 Thread alexander golks
hi, are there currently issues with the servers serving downloads from maintentance tool? we are not able to install/update qt since some days now. btw.: the mirror setup in the maintenance tool is not really user friendly. do i really have to uncheck all the dozens of dozens official mirrors?!

Re: [Interest] Qt Account email verification needed

2020-01-29 Thread alexander golks
Am Wed, 29 Jan 2020 15:32:01 +0100 schrieb Giuseppe D'Angelo via Interest : > On 29/01/2020 15:01, The Qt Company wrote: > > Thank you for creating a Qt Account. Please verify your email address > > 'interest@qt-project.org' within 72 hours to complete the registration > > process. > > ^

Re: [Interest] QCoreApplication::arguments(): getting the application name safely during global destruction

2020-01-20 Thread alexander golks
Am Mon, 20 Jan 2020 13:48:41 +0100 schrieb René J.V. Bertin : > Hi, > > > Regardless of whether this is a regression in QCoreApplication, is there a > safe and cross-platform way to get at the app name in code that might be > called as above? > argv? or do i miss something? alex -- /*

Re: [Interest] QGraphicsObject::boundingRect() called with different instance

2019-10-31 Thread alexander golks
Am Wed, 30 Oct 2019 18:55:04 -0600 schrieb Bob Hood : > (Sorry for the slow reply.  F#@$ing Comcast decided yesterday that all my > mailing list traffic was Spam.) > > > On 10/30/2019 5:17 AM, Giuseppe D'Angelo via Interest wrote: > > On 30/10/2019 01:47, Bob Hood wrote: > >> When I enter

Re: [Interest] Licensing

2019-10-09 Thread alexander golks
Am Wed, 9 Oct 2019 20:43:58 +0200 schrieb Uwe Rathmann : > Of course this information is useless for someone who wants to change > the license - the decision for the LGPL had been made long before. It is > about sending the message that you should not do LGPL, if you don't want > to be banned

Re: [Interest] Licensing

2019-10-09 Thread alexander golks
Am Wed, 9 Oct 2019 11:05:08 +0200 schrieb Uwe Rathmann : > But I have a strong opinion about using FUD as sales strategy: > > - intimidation paragraphs > - blacklisting projects that follow the rules of the LGPL properly > - giving wrong information ( check the video ) about the LGPL > > Uwe

Re: [Interest] Licensing questions for iOS and Android

2019-10-08 Thread alexander golks
Am Tue, 8 Oct 2019 10:16:45 +0300 schrieb Vyacheslav Lanovets : > 2 persons use *Mac* to make the app work on iOS (static linking!). what about going lgpl and delivering object files to enable relinking statically with another qt version? -- /* * Your lucky number has been disconnected. */

Re: [Interest] How to properly show progress for a signal processing pipeline

2019-04-08 Thread alexander golks
Am Mon, 8 Apr 2019 16:02:10 + schrieb "Murphy, Sean" : > > I would just show one progress set to 3 * raw count.  Each stage > > periodically signals to the ui thread its progress, and whether it has > > processed the end-of-data signal from the previous stage.  In the ui > > thread slot: > >

Re: [Interest] QWebSocketServer - server randomly stops accepting connections

2019-04-04 Thread alexander golks
i was going to switch some codebase to websocket server, too, but reading this lets me think again... thanks ;) Am Thu, 4 Apr 2019 16:33:19 +0200 schrieb "Jason H" : > I looked at the private implementation of QWebSocketServer,  > QWebSocketServerPrivate. >   > I haven't tested it, but there

Re: [Interest] Segmentation fault on exiting Qt event loop

2019-01-09 Thread alexander golks
Am Tue, 8 Jan 2019 06:15:08 -0600 schrieb Roland Hughes : > only NASA pre-faster-cheaper-splat days had more rigorous development > rules and physical testing yes, indeed ;) https://en.wikipedia.org/wiki/List_of_software_bugs -- /* *There is no character, howsoever good and fine, but it can

Re: [Interest] QML vs Electron

2018-08-07 Thread alexander golks
Am Tue, 7 Aug 2018 14:52:42 +0100 schrieb Mike Krus via Interest : > > On 7 Aug 2018, at 14:31, Nikos Chantziaras wrote: > > > > On 07/08/18 16:04, alexander golks wrote: > >> Am Tue, 7 Aug 2018 16:00:22 +0300 > >> schrieb Nikos Chantziaras : > >&g

Re: [Interest] QML vs Electron

2018-08-07 Thread alexander golks
Am Tue, 7 Aug 2018 16:00:22 +0300 schrieb Nikos Chantziaras : > On 07/08/18 01:19, Sylvain Pointeau wrote: > > On Mon, Aug 6, 2018 at 11:56 PM Giuseppe D'Angelo > > wrote: > >> [...] > >> Out of curiosity, what prevented you from going with LGPL Qt? > > > > On

Re: [Interest] How to properly translate an application?

2018-06-07 Thread alexander golks
Am Thu, 7 Jun 2018 14:22:08 +0200 schrieb Mark Gaiser : > Hi, > > I have a windows desktop application (Qt 5.9 LTS) here that has Dutch and > English translations files (in .ts format) created with Qt Linguist. Any > strings in that file show up in the Qt UI just fine in the chosen language. >

Re: [Interest] QFile::write(const QByteArray&) does not write all data?

2018-05-18 Thread alexander golks
Am Thu, 17 May 2018 07:56:19 -0700 schrieb Thiago Macieira <thiago.macie...@intel.com>: > On Thursday, 17 May 2018 07:02:17 PDT alexander golks wrote: > > i have at least compiled 5.6.4 now, but i can not produce the error with my > > qt5core. using 5.6.3 from qt, error exi

Re: [Interest] QFile::write(const QByteArray&) does not write all data?

2018-05-17 Thread alexander golks
Am Thu, 17 May 2018 16:02:17 +0200 schrieb alexander golks <a...@golks.de>: > Am Fri, 11 May 2018 08:11:04 +0200 > schrieb alexander golks <a...@golks.de>: > > > my code was: > > qint64 res = f.write(data); > > just for the curious ones: > >

Re: [Interest] QFile::write(const QByteArray&) does not write all data?

2018-05-17 Thread alexander golks
Am Fri, 11 May 2018 08:11:04 +0200 schrieb alexander golks <a...@golks.de>: > my code was: > qint64 res = f.write(data); just for the curious ones: i have at least compiled 5.6.4 now, but i can not produce the error with my qt5core. using 5.6.3 from qt, error exists. usin

Re: [Interest] Licensing questions when using shared Qt-library on iOS

2018-05-16 Thread alexander golks
Am Wed, 16 May 2018 10:49:06 + schrieb "Trillmann, Jens" : > every other file in the platformplugin is LGPL licensed. From my > understanding I would violate the LGPL license if I would try to > distribute the app in this form, because a user could not easily

Re: [Interest] QFile::write(const QByteArray&) does not write, all data?

2018-05-15 Thread alexander golks
Am Mon, 14 May 2018 08:45:06 -0700 schrieb Thiago Macieira : > ... > > It's a matter of perspective. As seen in this thread, in some situations > failing to write everything is an unrecoverable situation. That is the case > here: QDataStream cannot recover from a

Re: [Interest] QFile::write(const QByteArray&) does not write, all data?

2018-05-14 Thread alexander golks
Am Sun, 13 May 2018 23:50:20 -0700 schrieb Thiago Macieira <thiago.macie...@intel.com>: > On Sunday, 13 May 2018 23:28:47 PDT alexander golks wrote: > > > In fact, QDataStream can't recover from any errors. > > > > as you've said, my origin problem is no erro

Re: [Interest] QFile::write(const QByteArray&) does not write all data?

2018-05-11 Thread alexander golks
Am Fri, 11 May 2018 18:05:11 +0800 schrieb Elvis Stansvik : > Not sure why you bring up this piece of MS docs, when this is about QFile. this is about qfile on windows 7. the implementation is using WriteFile. sources for documentation are in msdn, too. this is, what its

Re: [Interest] QFile::write(const QByteArray&) does not write all data?

2018-05-11 Thread alexander golks
Am Thu, 10 May 2018 23:32:14 -0700 schrieb Thiago Macieira <thiago.macie...@intel.com>: > On Thursday, 10 May 2018 23:11:04 PDT alexander golks wrote: > > i think it "silently" breaks here without setting error condition on the > > QFile when hitting errors on all

Re: [Interest] QFile::write(const QByteArray&) does not write all data?

2018-05-11 Thread alexander golks
hi, > have you seen https://bugreports.qt.io/browse/QTBUG-56616 ? > Your problem sounds a bit like it, although the bug should be fixed in > Qt 5.6.3. i have had a look now, and my file is only ~50MB in this case, so this bug should be no problem. besides, i am running on 5.6.3, as i haven't a

Re: [Interest] QFile::write(const QByteArray&) does not write all data?

2018-05-09 Thread alexander golks
in only data up to the first zero byte. > > helmut > > -Ursprüngliche Nachricht- > Von: Interest > [mailto:interest-bounces+helmut.muelner=gmail@qt-project.org] Im Auftrag > von alexander golks > Gesendet: Mittwoch, 9. Mai 2018 11:40 > An: interest@qt-project.

Re: [Interest] QFile::write(const QByteArray&) does not write all data?

2018-05-09 Thread alexander golks
e file. but i think, QFile implementation is wrong here. i think nativeWrite should set error and return -1 on every chunk, not only at first chunk. alex > Obvious question but do you flush? > > On Wed, May 9, 2018 at 11:09 AM alexander golks <a...@golks.de> wrote: > &g

[Interest] QFile::write(const QByteArray&) does not write all data?

2018-05-09 Thread alexander golks
hi, i recently stumbled over this situation, running on windows 7 using qt-5.6.3. when trying to write ~50MB of data, write does not always complete, the file does not contain all data, yet no error is returned. i always thought, QFile::write(const QByteArray&) is meant to write all data. as

Re: [Interest] Faster QXmlStreamWriter?

2018-04-24 Thread alexander golks
Am Tue, 24 Apr 2018 08:52:53 -0700 schrieb Thiago Macieira : > On Tuesday, 24 April 2018 07:39:08 PDT Konstantin Tokarev wrote: > > 24.04.2018, 11:40, "Vadim Peretokin" : > > > On Tue, Apr 24, 2018 at 8:14 AM Thiago Macieira >

Re: [Interest] Faster QXmlStreamWriter?

2018-04-24 Thread alexander golks
Am Tue, 24 Apr 2018 05:02:20 + schrieb Vadim Peretokin : > On Mon, Apr 23, 2018 at 8:32 AM Thiago Macieira > wrote: > > > On Sunday, 22 April 2018 22:15:48 PDT Vadim Peretokin wrote: > > > Thanks! That helped remove the resize operation

Re: [Interest] Retrieving the object info due to exception std::bad_alloc

2018-02-27 Thread alexander golks
Am Tue, 27 Feb 2018 23:12:51 +0530 schrieb Ramakanth Kesireddy : > Hi, > > As mentioned in http://doc.qt.io/archives/qt-4.8/exceptionsafety.html, the > below code is being used to catch the exceptions in application:- > > QApplication app(argc, argv); > ... > try { >

Re: [Interest] How to exclude files from lupdate in .pro?

2017-12-27 Thread alexander golks
Am Wed, 27 Dec 2017 12:47:01 +0300 schrieb Oleg Evseev : > Hi all, > > According to documentation in qt there is a workaround lupdate_only{...} - > conditional statement so the lupdate tool sees some file (for example .qml > files) but the C++ compiler ignores them. > > I

Re: [Interest] Use two translations files in the same application

2017-12-14 Thread alexander golks
Am Thu, 14 Dec 2017 14:24:30 +0100 schrieb Nicolas Krieger : > Hi, > > Is it possible to use two (or more) translations files for one > application ? > > For example, I have a common file used by many programs, and others > specific ones. > > Nicolas Krieger > >

Re: [Interest] Interest Digest, Vol 75, Issue 5

2017-12-11 Thread alexander golks
Am Sat, 09 Dec 2017 21:10:25 -0800 schrieb Thiago Macieira : > On sábado, 9 de dezembro de 2017 10:39:43 PST Nikos Chantziaras wrote: > > On 09/12/17 19:39, Thiago Macieira wrote: > > > On sábado, 9 de dezembro de 2017 07:51:11 PST Konstantin Tokarev wrote: > > >>

Re: [Interest] WebEngine with Intel Graphics Card

2017-10-26 Thread alexander golks
hi, our solution was to tell our customers to not use intel graphic cards ;) you might succeed with blacklisting the graphics cards in some way, so that qt will not use it. but i haven't investigate on how to do it. alex Am Thu, 26 Oct 2017 10:53:38 + schrieb Sudhir Sharma

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

2017-03-24 Thread alexander golks
Am Fri, 24 Mar 2017 10:52:47 +0100 schrieb 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

Re: [Interest] Android: This application failed to start because it could not find or load the Qt platform plugin "android"

2017-01-04 Thread alexander golks
hi, i have no idea about packaging and deployment for android, but when i get this: > This application failed to start because it could not find or load the Qt > platform plugin "android" on windows, i am missing the platforms directory including the qwindows.dll plugin somewhere in the

Re: [Interest] Qt World Summit recordings 2016 are finally here

2016-12-16 Thread alexander golks
Am Fri, 16 Dec 2016 13:21:28 + schrieb Richard Moore : > On 16 December 2016 at 12:57, Giuseppe D'Angelo > wrote: > > > Il 16/12/2016 12:46, Carl Engh ha scritto: > > > Just wanted to let you all know that the Qt World Summit 2016 recordings > > >

Re: [Interest] virus warnings

2016-12-09 Thread alexander golks
just fyi: since we are using qt-5.6 with vs2015 we get SONAR.Heur.RGC!g111 virus warnings on one of our services. with vs2010, we do not see this issue. alex Am Thu, 8 Dec 2016 23:11:35 -0500 schrieb Jocala : > Thanks, I'll give that a shot. > > BTW, Microsoft's suggestion

Re: [Interest] When does Qt load its plugins?

2016-07-13 Thread alexander golks
Am Wed, 13 Jul 2016 12:37:22 +0200 schrieb Elvis Stansvik : > 2016-07-13 12:34 GMT+02:00 Elvis Stansvik : > > I'm working on packaging an application using QtWidgets as an AppImage > > and I'm looking at which of the Qt plugins I must bundle. > > > > I'll

Re: [Interest] Utilizing the GPU, how to start?

2016-07-12 Thread alexander golks
Am Tue, 12 Jul 2016 16:53:25 +1000 schrieb "John C. Turnbull" : > Thanks. I never thought of using Google ;-) > > Sadly Google shows me what *they* want me to see, not necessarily what I am > actually looking for. > > Hence asking the question here: amongst a group of

Re: [Interest] Slightly OT: On Windows, QFile operations failing due to on-access scanners

2016-06-30 Thread alexander golks
Hi, Am Thu, 30 Jun 2016 09:11:27 +0200 schrieb Rainer Wiesenfarth : > (Qt 5.3.2, VS2010 on Windows) > > Hi all, > > this is off-topic as the problem is not caused by Qt, however, QFile > is involved and might be the one to handle it. In any case, I'd like > to

Re: [Interest] Interest Digest, Vol 57, Issue 23

2016-06-21 Thread alexander golks
ack Am Tue, 21 Jun 2016 15:26:19 +0200 schrieb "Jakub Michałowski" : > Szanowni Państwo, > > Dziękuję za przesłanie wiadomości. > > W dniach od 19 do 24 czerwca 2016 roku jestem poza biurem w związku z > międzynarodowymi targami Firex w Londynie. > > W

Re: [Interest] Detecting if the application is already running from another user account

2016-06-05 Thread alexander golks
Am Fri, 3 Jun 2016 14:16:32 + schrieb "Murphy, Sean" : > > Thanks for all those suggestions. Of course there are platform specific > > solutions, > > but I'd like to keep the code 100% cross platform everywhere it's possible. > > > > The issue with file locking, is every

Re: [Interest] Deploy Qt on windows with relative paths

2016-01-19 Thread alexander golks
hi, or simply put "deploy-qt-runtime" to the path for current console session, or create a batch setting the path and starting the app. alex > On Windows you can try to set up working directory in the shortcut... > > On 19.01.2016 20:56, Denis Shienkov wrote: > > Hi all. > > > > I want to

Re: [Interest] qmake's visual studio generator does not handle recursive subdir templates

2015-11-23 Thread alexander golks
Am Mon, 23 Nov 2015 21:24:35 +0100 schrieb Roland Winklmeier : > Hi Scott > > > Are you running qmake with -recursive? > > yes I do. All projects in the subfolders are generated, but as new > standalone solutions (*.sln) instead of projects (*.vcxproj). So instead

Re: [Interest] A QThread question...

2015-10-21 Thread alexander golks
Am Wed, 21 Oct 2015 12:19:20 +0200 schrieb André Somers : > Op 21-10-2015 om 11:48 schreef NoMercy: > > Hello everyone and thanks for you replies, > > > > I've a rather advaced question about QThreads (well advanced to my > > knowledge anyways) > > > > I have a Windows

Re: [Interest] Seeking tips on restoring application geometry

2015-08-04 Thread alexander golks
hi, I'm kind of leaning towards saving multiple geometries in my settings based on the current desktop size, so that the user can set one geometry for the laptop-only case, set a different geometry for the external monitor(s) case, and have the application remember those settings

Re: [Interest] Need argumentative help..... giving qobject copy/assignment constructor and put it in qlist/qmap

2015-07-20 Thread alexander golks
hi, i wonder why you just don't store QObject* in the lists? moving from objects to pointers should be just fleißarbeit ;) alex Am Mon, 20 Jul 2015 22:18:50 +0200 schrieb Jason H jh...@gmx.com: And the problem with PHP is that it works at all. ;-) Wouldn't the modifications you inquire

Re: [Interest] Relevant industrial buses

2015-07-07 Thread alexander golks
hi, i've no deep knowledge about buses at all and if some of these would even fit into the qserialbus module, but what about some of the buses and protocols for home automation? it would be great to have simple access to diy installations over standard buses/protocols using qt, or even to

Re: [Interest] Relevant industrial buses

2015-07-07 Thread alexander golks
Am Tue, 7 Jul 2015 09:05:05 +0200 schrieb Elvis Stansvik elvst...@gmail.com: 2015-07-07 8:35 GMT+02:00 alexander golks a...@golks.de: hi, i've no deep knowledge about buses at all and if some of these would even fit into the qserialbus module, but what about some of the buses

Re: [Interest] cross-platform CI for mobile Qt-based projects (iOS / android)

2015-06-02 Thread alexander golks
hi, we are using jenkins, for windows currently only, but: - we use dependencies during a build, having multiple libraries build first and the depending users build afterwards - several different custom build steps for some projects - calls to cygwin and cmd line scripts // must pay attention

Re: [Interest] Survey: do you override QCoreApplication::notify? Why?

2015-04-16 Thread alexander golks
hi, As part of trying to design the solution, I'd like to know what people override QCoreApplication::notify() for. we have 3rd party plugins - beside our own crude code, sometimes - called in threads and in q(core)application in various situations, which throw exceptions. errors, yes, but

Re: [Interest] QSqlQuery... bindValue does not work for CREATE TABLE .... AS SELECT....

2015-03-11 Thread alexander golks
Am Wed, 11 Mar 2015 10:29:41 +0100 schrieb Guido Seifert warg...@gmx.de: works at my side, qt4.8.6: query.prepare(CREATE TEMP TABLE selectseriestable AS SELECT title FROM titlegroup,title WHERE titlegroup.seriesID=(SELECT seriesid FROM series WHERE series=:series AND

Re: [Interest] Logging meta call events

2015-02-18 Thread alexander golks
Am Tue, 17 Feb 2015 23:23:44 -0800 schrieb Thiago Macieira thiago.macie...@intel.com: On Wednesday 18 February 2015 07:59:09 alexander golks wrote: if you really want to log, why not just include the private header and do the logging? we do it in our derived q(core)application::notify, when

Re: [Interest] Logging meta call events

2015-02-18 Thread alexander golks
Am Wed, 18 Feb 2015 08:17:38 -0800 schrieb Thiago Macieira thiago.macie...@intel.com: On Wednesday 18 February 2015 09:06:46 alexander golks wrote: but my point is, when he wants to use the private header, why not? Read it. There's an important comment at the beginning of every private

Re: [Interest] Logging meta call events

2015-02-17 Thread alexander golks
Am Tue, 17 Feb 2015 23:48:54 + schrieb Richard Moore r...@kde.org: On 17 February 2015 at 23:41, Bernhard priv...@bernhard-lindner.de wrote: This would not allow me to integrate the findings into my custom state engine log (which also contains transitions and a lot more things in

Re: [Interest] QSqlDatabase

2015-02-04 Thread alexander golks
Am Wed, 4 Feb 2015 15:01:50 +0100 schrieb Till Oliver Knoll till.oliver.kn...@gmail.com: ... QSqlDatabase db = QSqlDatabase::addDatabase(QSQLITE); ... bool ok = db.open(); When I run this ok is always true, no matter what arguments are passed. I am not experienced

Re: [Interest] Advice on random program finish crash

2015-01-07 Thread alexander golks
Am Wed, 7 Jan 2015 09:32:21 + schrieb Nuno Santos nunosan...@imaginando.pt: Hi, I’m having a problem with a random crash that not always happens. I would like to have your advice on how to find the origin of it. This crash always happens on program exit and the stack trace is the

Re: [Interest] Advice on random program finish crash

2015-01-07 Thread alexander golks
Am Wed, 7 Jan 2015 12:36:52 + schrieb Nuno Santos nunosan...@imaginando.pt: Hi, I’m not really sure. Question: - On program termination, isn’t all the memory allocated by it deleted? when allocated on heap, no. the memory is just released, not delete()'ed, that is, no dtor is

[Interest] QDir::cdUp looping forever

2014-11-27 Thread alexander golks
hi, i am running windows 7, using qt-online 5.3.2. when executing following code on a network share as working directory, e.g. //server/data/: QDir dir=QDir::current(); qDebug()start dir=dir; while(dir.cdUp()) qDebug()up dir=dir; this will print: start dir= QDir( //server/data ,

Re: [Interest] Application Plugins

2014-07-23 Thread alexander golks
Am Wed, 23 Jul 2014 09:05:45 + schrieb Graham Labdon graham.lab...@avalonsciences.com: Hi thanks for your reply I have stepped through the code with the debugger and it reports that the specified module could not be found This project succeeds if compiled in Release mode but not in Debug

Re: [Interest] QLabel inconsistent sizing with word wrap

2014-07-18 Thread alexander golks
Am Fri, 18 Jul 2014 11:59:15 +1000 schrieb Tony Rietwyk t...@rightsoft.com.au: Hi Everybody. In my Qt 4.8.6 application I cannot understand why this QLabel widget's sizing varies wildly depending on the text content - even for similar text! The QLabel has only WordWrap switched on, and

Re: [Interest] Licensing Questions

2014-04-02 Thread alexander golks
there were some discussions on this topic several times now, i feel free to just repost some mails on this in Qt-interest Digest, Vol 19, Issue 20. Today's Topics: 2. Re: Licensing (Jan) 3. Re: Licensing (Jeroen De Wachter) 4. Re: Licensing (Kustaa Nyholm)

Re: [Interest] Watching files two ways

2014-03-24 Thread alexander golks
Am Mon, 24 Mar 2014 12:47:36 +0100 schrieb Sensei sense...@gmail.com: Right now I can detect if a file changes, and it's ok. However, can I track if a file *comes back*? For instance, if I rename a watched file a.txt and rename it to b.txt, I get the slot running. Can I detect if the

Re: [Interest] Process started with QProcess::startDetached is still a child, and is killed when parent quits

2014-03-05 Thread alexander golks
Am Wed, 5 Mar 2014 21:40:11 +0100 (CET) schrieb Wiebe Cazemier wi...@halfgaar.net: So, how do I really start a detached process? Is there a similar way to how Linux parents orphaned processes to init? i have a process to restart a service at a given time, and i do it this way: QProcess*

Re: [Interest] Qt Application Help.

2014-01-21 Thread alexander golks
hi, you should read the qt documentation, which is very good: http://qt-project.org/doc/ and some tutorials, examples and demos, e.g. from here: http://qt-project.org/resources/getting_started and if you have any questions left someone here will surely help you. alex Start weitergeleitete

Re: [Interest] visual studio addin

2013-12-12 Thread alexander golks
Am Thu, 12 Dec 2013 09:49:26 + schrieb bob smith qtnew...@outlook.com: Hi I am using the VS Addin and have a problem If I change a ui file with designer by, for example, adding a widget then VS intellisense does not recognize it. If I unload an reload the project the new member is

Re: [Interest] [SOLVED] QImage::save forces client to open file before call

2013-11-22 Thread alexander golks
Am Thu, 21 Nov 2013 07:52:08 -0800 schrieb Thiago Macieira thiago.macie...@intel.com: If you think the behaviour is wrong, describe it and ask that it be fixed in a bug report. you wrote, i debugged again, and found just our not-qt-tif plugin behaves not like all other plugins... i should

Re: [Interest] Possible to know if QAction was triggered by QKeySequence or click?

2013-10-30 Thread alexander golks
Am Wed, 30 Oct 2013 15:43:44 +0100 schrieb Philipp Kursawe phil.kurs...@gmail.com: I cannot see an event for shortcuts, but I'll check the keypress events. you may want to look for QEvent::ShortcutOverride, too. -- /* * printk(KERN_ERR ide: huh? queue was plugged!\n); *

Re: [Interest] How do Events Cascade to Child Widgets

2013-09-05 Thread alexander golks
hi, do you want to just inject or - like me - record and play events for testing and simulation purpose? For recording you can override QApplication::eventFilter and store a copy of the event together with receiver name and class name. Later on you can play all recorded events by searching for

Re: [Interest] Simulating Mouse Click Event?

2013-08-22 Thread alexander golks
Am Wed, 21 Aug 2013 12:39:44 -0400 schrieb Mitchell Verter mitchell.ver...@gmail.com: QCoreApplication::postEvent(this, evt); i am doing nearly the same, but i use recorded events and replay them. then i use sendEvent and not postEvent, but this shouldn't be your problem. but: i think you

Re: [Interest] Strange question on Stackoverflow.... QApplication in QThread

2013-08-14 Thread alexander golks
There were at least 3 movies. freely adapted from Connor MacLeod: There can be only Five, or so...!. [1] [1] http://de.wikipedia.org/wiki/Highlander -- /* *snd_printk(KERN_ERR Unable to scan for card signature in video RAM\n); * linux-2.6.19/sound/pci/nm256/nm256.c * (Note what source

Re: [Interest] Simple doubt on file i/o

2013-06-27 Thread alexander golks
Thoughts? i would use a cache QMap, and keep it in sync just when needed. fill the cache from file on load/construction/first access, write the cache to file on destruction, thus you won't have any file access during setter/getter functions. you can do file handling in a thread to not block

Re: [Interest] Q_PROPERTY notification across processes?

2013-05-17 Thread alexander golks
Am Fri, 17 May 2013 08:16:36 +0200 schrieb Yves Bailly yves.bai...@sescoi.fr: Le 17/05/2013 03:27, Charley Bay a écrit : I have a C++ QObject-derived class that exposes properties for use in QML, works fine (Qt5). WHAT I WANT: I would like to instantiate an instance of this class in

Re: [Interest] QThreads: There's no one way to do it right! :)

2013-01-23 Thread alexander golks
Am Wed, 23 Jan 2013 11:56:55 +0400 schrieb Konstantin Tokarev annu...@yandex.ru: My rule of thumb is that, if you're doing a simple but compute intensive task where you don't want communication via signal/slots (probably thats what the author of the last post meant by not needing event

Re: [Interest] Loading, recursion and GUI's

2013-01-07 Thread alexander golks
sounds like you're blocking the gui painting. i would start a thread for parsing the dom and use some signals/slots to signal the gui the current state, like: signals: void startDomParsing(); slots: void onDomParsingFinished() { delete progress; // or whatever } or instead of

Re: [Interest] debug QtService

2012-11-09 Thread alexander golks
I want to make web service method, requesing which I would tell service to stop. if RequestMapper is derived from QtService you should be able to call the QtServiceBase::stop() method instead of QCoreApplication::exit(). we call it via a wrapping SLOT triggered by a timer like: /*SLOT*/

[Interest] '__fastcall' incompatible with the '/clr'

2012-10-31 Thread alexander golks
Hello list, i am evaluating a possible change of vs2005+qt-4.4.3 to at least vs2010+qt-4.8.3, and perhaps qt5.X some time later on... several of our projects use managed code, too, so we must compile with /clr option, but with this last qt version i get many warnings like: ..\qchar.h(311):

Re: [Interest] Qt5: Obtain current layout size

2012-07-23 Thread alexander golks
Am Sun, 22 Jul 2012 15:49:13 -0400 schrieb Stephen Chu step...@ju-ju.com: Thanks. That works. Do you happen to know how I can get the size of a window maximized without first maximize it? what about: http://qt-project.org/doc/qt-4.8/qapplication.html#desktop alex -- /* * Never be bullied

Re: [Interest] Problem with QTcpSocket and Windows 7

2012-05-10 Thread alexander golks
Am Thu, 10 May 2012 14:08:03 +0200 schrieb lucas.betsch...@crypto.ch: Hello Qt People, Maybe this is not a Qt specific question, but maybe someone has an idea or had a similar problem. I got a Services running under Windows (till now XP) which connects to our device through Telent/TCP.

Re: [Interest] Qt Licensing

2012-05-06 Thread alexander golks
Am Mon, 7 May 2012 11:02:37 +0530 schrieb Ankit Agarwal ankit17...@gmail.com: Hi, We are a group of software engineer building a software to be deployed commercially at the client's locations in Windows platform. As I understand that if we are using Qt4.8, then we may not have to buy the Qt