Re: [Interest] MSVC not-the-latest: are you using it? why?

2023-01-25 Thread Konrad Rosenbaum
Hi, On 25/01/2023 14:44, Adam Light wrote: What I also didn't know is that if you've purchased the licence for a given VS, you're not entitled to the upgrade to the next. I know this is how it used to be with Microsoft Office back in the 90s and even the old Visual

Re: [Interest] Thread-To-CPU-Core distribution

2022-12-28 Thread Konrad Rosenbaum
Hi, On 28/12/2022 11:08, Alexander Carôt wrote: in a special use case I launch audio- and video streaming classes in my Qt main thread and also a web browser as an interface (webview or webengine) but I want to have their operation consciously separated over available cpu cores such as Core

Re: [Interest] Qt web browser development

2022-12-27 Thread Konrad Rosenbaum
Hi, 0.) QTextBrowser is an actual light-weight browser with limited HTML support of a sub-set of HTML 4, but it is good enough for many tasks - especially when the HTML is generated inside the program itself and displays only relatively simple content. It can be used for documentation, if

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-13 Thread Konrad Rosenbaum
On 2020-06-13 09:42, Filip Piechocki wrote: > for me not updating a system, software etc for many years is just > equal to building a technical debt. Any serious company should be > aware that this will finally kick them in their butt, should have > measure the potential cost and decide where is

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-13 Thread Konrad Rosenbaum
On 2020-06-13 03:22, Thiago Macieira wrote: > On Friday, 12 June 2020 05:01:17 PDT Roland Hughes wrote: >> You can't drop an OS as long as there are paying customers for it. > Sure they can. But as a consequence, those customers may stop paying for it. ...and may never return. >> Real business

Re: [Interest] [Development] Windows 7 support will be dropped in Qt 6

2020-06-13 Thread Konrad Rosenbaum
On 2020-06-12 02:44, Hamish Moffatt wrote: > On 12/6/20 10:17 am, Scott Bloom wrote: >> Why is Win7 being dropped?  I (my company) has gotten burned pretty >> hard by the dropping of CentOS 6, similar reasons listed for win7.. > > It's funny that there's so much discussion about dropping Windows 7

Re: [Interest] Write QSettings to a QString in INI format

2019-10-26 Thread Konrad Rosenbaum
Hi, On 10/24/19 5:53 PM, Murphy, Sean wrote: I'd like to be able to have QSettings write out my settings to an INI file format, but I'd like to avoid writing it to an actual file, instead just writing it to "something" in memory (for example, a QString, QByteArray, QBuffer, etc.). That's

Re: [Interest] TLS/SSL XML encryption security

2019-10-07 Thread Konrad Rosenbaum
Hi, On 10/5/19 2:17 AM, Roland Hughes wrote: _ALL_ electronic encryption is security by obscurity. Take a moment and let that sink in because it is fact. Okay, out with it! What secret service are you working for and why are you trying to sell everybody on bullshit that weakens our

Re: [Interest] Interest Digest, Vol 95, Issue 35

2019-08-30 Thread Konrad Rosenbaum
Thank god it's Friday! On Friday, 30 August 2019 12:34:20 CEST Roland Hughes wrote: > Yeh. I always have trouble calling anything a "process" in the > wanna-be CPU world. Yeah, who isn't pining for the "good olde dayes" of PDP-11 and VAX! > Actually it's more the wanna-be OS world. ..or

Re: [Interest] Clarification on network security

2019-06-16 Thread Konrad Rosenbaum
Hi, [Congrats Roland: successful flame bait accomplished!] Bob, you already have really good answers from Elvis and Thiago - please ignore this thread! In short: use QSslSocket/QSslServer, set the protocol version to 1.2 or newer, deliver the server cert (not key) with your client software,

Re: [Interest] When Microsoft comes to purchase Qt what will be the outcome?

2018-09-25 Thread Konrad Rosenbaum
On Tuesday, 25 September 2018 12:14:11 CEST Henry Skoglund wrote: > Hi, while I am a very happy Qt user, I have this fear that Microsoft > will knock on Qt's door with a boatload of money. [...] Fret no more! Familiarize yourself with the KDE Free Qt Foundation and sleep soundly at night...

Re: [Interest] USB support

2018-04-18 Thread Konrad Rosenbaum
Hi, On Tue, April 17, 2018 16:39, Roland Hughes wrote: > On 04/17/2018 09:15 AM, Thiago Macieira wrote: >> On Monday, 16 April 2018 17:16:43 PDT Roland Hughes wrote: >>> I know the answer may well be RTFD, but, has raw USB communications >>> been >>> more integrated or are the libusb examples

Re: [Interest] Maximum URL length

2018-03-15 Thread Konrad Rosenbaum
hi, On Thu, March 15, 2018 13:02, Jason H wrote: > Someone is going to use a Get request to Post data... > > From: "Tom Isaacson via Interest" >> Is there a maxiumum URL length, either in QUrl or Qt WebEngine? There >> doesn't seem to be a standard for maximum URL

Re: [Interest] Unit test framework

2018-03-09 Thread Konrad Rosenbaum
Hi, On Fri, March 9, 2018 06:35, Himanshu Vishwakarma wrote: > I have certain question rise after doing much research. please the > clear my confusion. I can clearly see the confusion... ..let's see whether we can clear some things up! ;-) > Q1. A squish is a software by which we can test the

Re: [Interest] QUdpSocket

2018-02-28 Thread Konrad Rosenbaum
Hi, On Wed, February 28, 2018 14:16, Igor Mironchik wrote: > On 28.02.2018 15:49, Konrad Rosenbaum wrote: >> Your above code means that the socket will listen on somePort of every >> open interface and may share this with other programs listening on the >> same port. >>

Re: [Interest] QUdpSocket

2018-02-28 Thread Konrad Rosenbaum
hi, On Tue, February 27, 2018 19:47, Igor Mironchik wrote: > Is situation possible that QUdpSocket in bound state can be somehow > disconnected (not from app's code) for any reason? I.e. something wrong > on the network, UDP socket can't work properly, something wrong in the > OS that leads to

Re: [Interest] Two from one.

2018-02-09 Thread Konrad Rosenbaum
On Thursday, 8 February 2018 13:22:12 CET william.croc...@analog.com wrote: > If I create a separate .pro file for lib and main, > I would then have to create yet a third file > to hold the common lines for inclusion in those first > two. That is not moving in the right direction. > > The bad

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Konrad Rosenbaum
Hi, On Mon, January 8, 2018 12:05, Christophe Thomas wrote: > Thx for your feedback, you're welcome. > Don't worry I won't even imagine using some unknown third party code for > crypto in production code. > > Since yesterday I've continued studying my case and my problem is that I'm > bounded

Re: [Interest] Integrate crypto in Qt project

2018-01-08 Thread Konrad Rosenbaum
Hi, DON'T RUN YOUR OWN CUSTOM CRYPTO! [sorry for shouting, but this is kind of important] If you followed any IT news for the last year or so you know that it is incredibly easy to mess up. Even if you are an expert. I'm sorry to say, you do not seem to be an expert, otherwise you'd know a lot

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-12-01 Thread Konrad Rosenbaum
On Thu, November 30, 2017 22:46, Thiago Macieira wrote: > Then again, the only application that cares about time jumps when relating > to > packet arrival time is the application that performs those time jumps in > the > first place. It's called "ntpd". Side note: ntpd under Linux does not jump.

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-12-01 Thread Konrad Rosenbaum
Hi, On Thu, November 30, 2017 16:49, Jason H wrote: > I don't think you can say that Qt is not real-time. That's more of a > kernel issue than a software library issue. On Thu, November 30, 2017 17:43, Konstantin Tokarev wrote: > Actually, Qt is ported to real-time operating systems, such as QNX

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-11-29 Thread Konrad Rosenbaum
Hi, On Tue, November 28, 2017 17:34, Jason H wrote: > It looks like Linux will support usec and even nsec resolution timestamps. yes it does. However: please keep in mind what a nanosecond is! This is the time that light needs to cross about 30cm (~ 1 foot) - in other words in an ideal world

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-11-27 Thread Konrad Rosenbaum
On Mon, November 27, 2017 15:05, Jason H wrote: > I was wondering what the maximum packet arrival time granularity is for Qt > (On linux) using a normal timestamp, I can easily do 1ms. However if I was > dealing with a raw socket descriptor, timing below this there is a ioctl() > call I can do to

Re: [Interest] represent QHostAddress as locale dependent string

2017-09-21 Thread Konrad Rosenbaum
Hi, On Thu, September 21, 2017 09:42, Manner Róbert wrote: > On Wed, Sep 20, 2017 at 5:49 PM, Thiago Macieira > > wrote: >> IP addresses are not localiseable. >> > > I understand your point, and most probably there are bigger problems in > the > world than this... I

[Interest] Win10: GUI Program only runs as Admin

2017-08-01 Thread Konrad Rosenbaum
Hi, my program does not need explicit installation: you copy it into its directory and start it. Usually this works like a charm. One of my users has the problem that the program does not run as normal user under Windows 10, but it does run as Administrator. The error that pops up for a normal

Re: [Interest] JS numbers to qint64

2017-07-12 Thread Konrad Rosenbaum
On Wed, July 12, 2017 11:53, Shantanu Tushar wrote: > and I see this output- > > qml: Opening 5762702576189441 > Opening 5762702576189442 > > As you can see the number changes. What am I doing wrong? ...you are using JavaScript numbers. All numbers is JS are 32bit floats, so naturally when you

Re: [Interest] using QTemporaryFile for post-mortem debug logfiles?

2017-05-22 Thread Konrad Rosenbaum
Hi, On Mon, May 22, 2017 13:39, René J.V. Bertin wrote: > On Monday May 22 2017 13:21:05 Konrad Rosenbaum wrote: > >> From my experience I'd recommend you go the long route and actually >> implement the date/time comparison(*). For one: problems have the bad >> habit o

Re: [Interest] using QTemporaryFile for post-mortem debug logfiles?

2017-05-22 Thread Konrad Rosenbaum
Hi, On Sun, May 21, 2017 14:20, René J. V. Bertin wrote: > Konstantin Tokarev wrote: > >> Don't use QTemporaryFile. Use regular files with consistent naming, e.g. >> log-$date, remove logs older than some date at the start of your program > > That's another solution, thanks. I'd probably keep

Re: [Interest] Using Widgets for new projects

2017-05-17 Thread Konrad Rosenbaum
Hi, On Wed, May 17, 2017 07:56, Marco Piccolino wrote: > In what scenarios would it still make sense to use QtWidgets for new > projects? First off: both technologies are fully supported. Widgets are not obsolete. It depends on your target platform and target audience: App for mobile phones or

Re: [Interest] QPluginLoader

2017-04-19 Thread Konrad Rosenbaum
On Wed, April 19, 2017 08:30, Igor Mironchik wrote: > In the docs to QPluginLoader: > > Once loaded, plugins remain in memory until all instances of > QPluginLoader has been unloaded, or until the > application terminates. > > But in plugandpaint example: [cut] > So my question is why plugins

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

2017-04-12 Thread Konrad Rosenbaum
Hi, [Disclaimer: IANAL] On Wed, April 12, 2017 12:43, Roland Hughes wrote: > Only problem with "fetch the file first" is it would be illegal in most > cases. Your sentence translates to: "It is illegal to view any file (image, text or otherwise) that originates on the web." It is perfectly

Re: [Interest] Moc fails using Qt 5.6

2017-04-11 Thread Konrad Rosenbaum
Hi, On Mon, April 10, 2017 15:29, jschneider...@gog.com wrote: > I've attached a bit of demonstration code that shows how moc fails when > using separators inside enumerations and comments. The error I’m getting > is: Class declaration lacks Q_OBJECT macro. Even though it is clearly in > the

Re: [Interest] Is there a way to simulate serial port data?

2017-03-28 Thread Konrad Rosenbaum
Hi, On Tuesday 28 March 2017 13:23:01 Roland Hughes wrote: > I have to ask, why is it such a sin to have a stand alone program with a > null modem cable and mini-tester as a testing tool. I have been working > with serial ports off and on since the days of DOS 3.x and have always > tested in this

Re: [Interest] Is there a way to simulate serial port data?

2017-03-28 Thread Konrad Rosenbaum
On Tue, March 28, 2017 00:54, Henry Skoglund wrote: > Hi, I faced a simular situation last summer, and I used this: > http://com0com.sourceforge.net/ > > Rgrds Henry > P.S. I think it only works on Windows, though. Correct. On Linux/Unix/MacOS you can use a simple pseudo TTY: write a small

Re: [Interest] Black background with QPrinter

2017-03-18 Thread Konrad Rosenbaum
On Friday 17 March 2017 18:03:38 Giuseppe D'Angelo wrote: > On Fri, Mar 17, 2017 at 5:42 PM, Joshua Grauman wrote: >> Thanks for the other info as well. I'm curious about your comment about >> printers with white ink. Presummably they could print on a black piece of >> paper.

Re: [Interest] How do you want to select exactly C++11 with GCC 6+?

2017-03-10 Thread Konrad Rosenbaum
On Fri, March 10, 2017 00:18, Thiago Macieira wrote: > In other words, for people who already have in their .pro files: > CONFIG += c++11 > > is it acceptable to enable C++14 instead? Just speaking for myself: yes. Konrad ___ Interest

Re: [Interest] How do you want to select exactly C++11 with GCC 6+?

2017-03-09 Thread Konrad Rosenbaum
On Thu, March 9, 2017 15:54, Thiago Macieira wrote: > Em quinta-feira, 9 de março de 2017, às 15:04:55 CET, Konrad Rosenbaum > escreveu: >> CONFIG -= c++14 feels like "give me whatever predates C++ 14, even if it >> is C++ 98" or simply "I'm a hillbilly, disable th

Re: [Interest] How do you want to select exactly C++11 with GCC 6+?

2017-03-09 Thread Konrad Rosenbaum
On Thu, March 9, 2017 14:13, Thiago Macieira wrote: > 1) is there a need for qmake to provide a way to select *exactly* C++11, > not a > later, available version? I don't see it. If I wanted to do compiler behavior tests I'd either not use qmake or use a more specific command like:

Re: [Interest] QTest + QSignalSpy doesn't seem to work with deferred signals

2017-01-18 Thread Konrad Rosenbaum
Hi, On Wednesday, January 18, 2017 10:16:30 Bob Hood wrote: > I'm trying to develop a unit test for an deferred signal; i.e. one that > won't be emitted until the event loop has been allowed to run. The case > looks like: > >void MyTest::user_info_deferred() >{ >

Re: [Interest] HTTPS with Qt

2016-10-06 Thread Konrad Rosenbaum
Hi, just change "http:" to "https:" and try what happens. If your server cert is signed with a root cert that exists in the system then this will work out of the box. If not you have two options: Handle the sslErrors signal of QNAM and check that the error you get is for the exact root cert

Re: [Interest] Relationship between a QEventLoop and QCoreApplication::exec().

2016-08-08 Thread Konrad Rosenbaum
Hi, On Sunday 07 August 2016 10:06:54 Thiago Macieira wrote: > On domingo, 7 de agosto de 2016 10:17:44 PDT André Somers wrote: > > > Yet, I don't see where the problem is. QDialog::exec() displays a > > > modal > > > dialog. It is not possible to click again on the menu or button that > > >

Re: [Interest] lupdate -compress makes files BIGGER?

2016-07-29 Thread Konrad Rosenbaum
Hi, I did some searching - the -compress switch to lrelease apparently has issues - don't use it! It may be removed later on anyway. If you need to save space there are a couple of other things you can do: 1) CONFIG+=release to use the stripped Qt libraries 2) strip your binaries 3) check

Re: [Interest] porting a tcl gui to qt

2014-07-01 Thread Konrad Rosenbaum
On Tue, July 1, 2014 00:05, Jonathan Wilkes wrote: On 06/30/2014 03:30 PM, Alejandro Exojo wrote: I suppose I am looking for a kind of UI protocol. Here's another question-- do you know any cross-platform apps with a Qt GUI that talks to the main process over a socket? I've written a few of

Re: [Interest] Simple UDP listener question

2014-06-25 Thread Konrad Rosenbaum
Hi, check the Firewall on this Desktop - most of the time when I have these kinds of problems it's the firewall's fault. Wireshark usually shows all packets that arrive at the ethernet card before they are filtered, then the firewall kicks in and last the program may (or may not) receive

Re: [Interest] QT_LARGEFILE_SUPPORT : macro redefinition.

2014-06-09 Thread Konrad Rosenbaum
Hi, On Sunday 08 June 2014 19:28:34 Bill Crocker wrote: I am upgrading a project from Qt 4.7.1 to Qt 4.8.6 When I build this project on Windows, I now see this: c:\qt\4.8.6\include\qtcore\../../src/corelib/global/qconfig.h(46) : warning C4005: 'QT_LARGEFILE_SUPPORT' : macro

Re: [Interest] moc not moccing

2014-05-20 Thread Konrad Rosenbaum
Hi, how did you try to build this? Did you use qmake, plain make, cmake, ...? However, I think you do need a constructor for classes that are processed by moc - at least it is good style to provide one. One like this would be sufficient: C++-98: NewTest(){} C++-11: NewTest()=default; Also, it

Re: [Interest] [Development] Heartbleed Bug and Qt

2014-04-11 Thread Konrad Rosenbaum
Hi, On Thursday 10 April 2014, Turunen Tuukka wrote: Although Qt as such is not affected by the Heartbleed Bug (CVE-2014-0160) found in OpenSSL, it affects users of Qt and our servers, so I wanted to write a short summary about the topic. Thanks for the summary. For everybody who did not

Re: [Interest] llvm thread sanitizer and qmutex

2014-03-05 Thread Konrad Rosenbaum
Hi, On Wednesday, Wednesday 05 March 2014 at 14:50, Firl, Benjamin wrote: we make heavy use of Qt in our software and are now trying to use llvm thread sanitizer for debugging. Unfortunately the sanitizer doesn't seem to recognize QMutex as a locking mechanism. That's because on Linux it does

Re: [Interest] New window in Qt makes the application activate

2014-02-03 Thread Konrad Rosenbaum
On Friday, Friday 31 January 2014 at 17:49, John Weeks wrote: Have you worked with scientists? :) Our customers may run a process that creates literally hundreds of graphs, each in a window, by running an automated process. Yes, it was the best time of my life (except for some parts of

Re: [Interest] New window in Qt makes the application activate

2014-02-03 Thread Konrad Rosenbaum
Hi, On Monday, Monday 03 February 2014 at 18:05, John Weeks wrote: Well, this is embarrassing... It looks like some code I wrote early on in the whole process of learning about Qt is responsible for the objectionable behavior. I've rooted out most of the behavior... Out of curiosity: what

Re: [Interest] New window in Qt makes the application activate

2014-01-31 Thread Konrad Rosenbaum
On Friday, Friday 31 January 2014 at 01:54, John Weeks wrote: If you have some iterative process going in your Qt application, the application is not the active application, and that iterative process involves making windows, every time a new window appears, the application is yanked to the

Re: [Interest] Using QNAM from threads

2014-01-30 Thread Konrad Rosenbaum
On Thursday, Thursday 30 January 2014 at 10:50, Philipp Kursawe wrote: So having multiple QNAM in an app is not really an issue? Correct, you can have as many QNAM in as many threads as you like (each QNAM limited to one thread of course). The only thing you have to be aware of is that each

Re: [Interest] Using QNAM from threads

2014-01-29 Thread Konrad Rosenbaum
On Wednesday, Wednesday 29 January 2014 at 16:27, Philipp Kursawe wrote: I have the following problem. I want to have only one QNAM in the (heavily plugin based) app. So I create one QNAM in the main thread when the app starts and assign it to the qApp-setProperty(qnam). Now I have

Re: [Interest] Annoying Bug - Qt 4.8.1 bug?

2014-01-23 Thread Konrad Rosenbaum
Hi, On Thursday, Thursday 23 January 2014 at 10:15, Etienne Sandré-Chardonnal wrote: Here is the only non trivial code that could contain the bug if it's not a Qt bug. This is a QThread subclass worker doing the file saving (here it does nothing but this crashes anyway on the QProgressDialog

Re: [Interest] Interest Digest, Vol 28, Issue 19

2014-01-19 Thread Konrad Rosenbaum
On Thursday, Thursday 09 January 2014 at 15:42, Igor Mironchik wrote: You may use TEMPLATE = subdirs feature of qmake to specify your lib as a separate subproject. I know about TEMPLATE = subdirs feature. But in my situation it wasn't possible. I've really needed to define extra target in

Re: [Interest] Qt4.8.5 Internationalization

2014-01-16 Thread Konrad Rosenbaum
Hi, On Thursday 16 January 2014, Ramakanthreddy Kesireddy wrote: Am using Qt4.8.5 on embedded linux with widget based application. I would like to know if I need to add support for different languages, do I need to maintain different ts files or only English ts file in my source code. It

Re: [Interest] Adding extra target to pro file

2014-01-10 Thread Konrad Rosenbaum
Hi, On Thursday 09 January 2014, Till Oliver Knoll wrote: Am 09.01.2014 um 17:19 schrieb Francisco Ares fra...@gmail.com: 2014/1/9 Igor Mironchik igor.mironc...@gmail.com ... If so and AFAIK, you can't do this in a single .pro file Correct: each *.pro file with either an app or lib set

Re: [Interest] Create the main widget on heap in main()

2014-01-10 Thread Konrad Rosenbaum
Hi, On Friday 10 January 2014, 程梁 wrote: Following is my example code: int main(int argc, char *argv[]) { QApplication app(argc, argv); QLabel *label = new QLabel; label-show(); return app.exec(); } label should live longer than app so there might be unsafe because

Re: [Interest] [QQuickView] deadlock on exit

2014-01-08 Thread Konrad Rosenbaum
On Wednesday 08 January 2014, Tim Blechmann wrote: You're doing something wrong. Use exec(). afaict this is not possible when integrating a Qt event loop into the event loop of an existing application or when using a Qt from a plugin which is simply not allowed to have its own event loop.

Re: [Interest] Get the username:password part of a HTTP request from QTcpSocket

2013-12-01 Thread Konrad Rosenbaum
Hi, On Sunday 01 December 2013, Lucas Betschart wrote: I have a HTTP-Server based on QTcpServer. Do you have an idea how I could get the authority part of the HTTP request? (https://en.wikipedia.org/wiki/URI_scheme#Generic_syntax) A request might look like this:

Re: [Interest] Get the username:password part of a HTTP request from QTcpSocket

2013-12-01 Thread Konrad Rosenbaum
Hi, On Monday, Monday 02 December 2013 at 01:49, Tony Rietwyk wrote: In short: if you do not have the need to access every bit directly use an existing server implementation and an easier way to communicate with it. For example Apache has modules for the FCGI and SCGI protocols. In this

Re: [Interest] Windows segfault, but not on Linux

2013-11-22 Thread Konrad Rosenbaum
On Thursday, Thursday 21 November 2013 at 19:15, Etienne Sandré-Chardonnal wrote: Hey, that's using a tank for killing a bug. Why not std::atomicint or QAtomicInt ? In heavy cases (such as mine...) that's a huge performance issue and code is also lighter. 2013/11/21 Konrad Rosenbaum kon

Re: [Interest] static qt without zlib

2013-11-22 Thread Konrad Rosenbaum
Hi, On Friday, Friday 22 November 2013 at 11:28, Tim Blechmann wrote: i'm trying to compile qt as static library with msvc2012. is it possible to do this without building zlib? my application provides its own version of zlib, so i'm currently having duplicate symbols from my own static zlib

Re: [Interest] static qt without zlib

2013-11-22 Thread Konrad Rosenbaum
On Friday, Friday 22 November 2013 at 15:09, Tim Blechmann wrote: well it is not that i want to completely remove zlib, but i currently have too many of them ;) You might try to use a system zlib, i.e. provide your own copy of zlib as the one Qt links to and then use the one linked inside

Re: [Interest] Windows segfault, but not on Linux

2013-11-21 Thread Konrad Rosenbaum
Hint: if your code is multi-threaded, behavior is radically different on Linux and Windows: * which thread runs first differs on single-CPU (and sometimes multi-CPU) systems * creating threads takes slightly longer on Windows, which may change some timing in accessing variables during thread

Re: [Interest] QProgressDialog not showing processEvents()

2013-11-17 Thread Konrad Rosenbaum
Hi, it is always safe to call processEvents yourself. If the QProgressDialog has display issues it obviously does not get enough CPU to update itself, calling processEvents more often may(!!) help. When I want to see a QProgressDialog early I normally force the issue by calling show()

Re: [Interest] Where have my images gone?

2013-11-01 Thread Konrad Rosenbaum
Hi, On Friday 01 November 2013 12:40:18 Graham Labdon wrote: My project has images stored as Qt resources and I have somehow broken my project so that they are no longer displayed in my application. If I open the Qt Resource editor I can see them, I can also see the in QDesigner. When I

Re: [Interest] Get background color and margins from QTreeView item

2013-10-29 Thread Konrad Rosenbaum
On Monday 28 October 2013 15:42:53 Philipp Kursawe wrote: is it possible to get the background color and margins for a specific item in a treeview from outside the treeview? Yes, there is a background color role that you can query from the model. If there is no data for this role, the default

Re: [Interest] Making a popup QLineEdit

2013-10-18 Thread Konrad Rosenbaum
Hi, On Friday 18 October 2013 14:05:07 Etienne Sandré-Chardonnal wrote: I want to do the following GUI element : a QLineEdit which popups when some control is clicked, allowing the user for text input, and which hides when enter is pressed, or when the user clicks outside the QLineEdit. I'm

[Interest] [SOLVED] Re: no keyboard input on old CentOS

2013-10-16 Thread Konrad Rosenbaum
Hi, in case anybody else stumbles over this: with a lot of help from Thomas Leitner the problem has been solved. The problem was that legacy versions of CentOS (4.x and 5.x; and probably other older distributions as well) contain a very subtle syntactic problem that some newer versions of

Re: [Interest] Loading libraries from root folder

2013-09-19 Thread Konrad Rosenbaum
On Monday 09 September 2013 13:05:07 Till Oliver Knoll wrote: Using the rpath linker option with a /relative/ path like ./lib (relative to the binary) worked for me. So I don't quite follow the disadvantage Important note: relative rpathes are not relative to the executable, they are relative

Re: [Interest] Styling tab background in QTabWidget

2013-09-04 Thread Konrad Rosenbaum
Hi, On Friday 30 August 2013 02:47:31 Muhammad Bashir Al-Noimi wrote: As you can see in this screenshot http://img90.imageshack.us/img90/7582/6iyt.png I styled QTabWidget but I couldn’t set tab’s background to transparent although I used: Please define what you mean by transparent - what do

Re: [Interest] Triggering Actions on Application Close

2013-07-09 Thread Konrad Rosenbaum
Hi, On Tuesday 09 July 2013 09:00:55 Till Oliver Knoll wrote: A) is by design: it is there to really *really* kill a process in the most brutal manner (*) a sysadmin could think of and a process being able to catch (and possibly ignore!) that signal would defeat its purpose. (*) which can

Re: [Interest] Unique - Hardware bound - ID

2013-05-16 Thread Konrad Rosenbaum
Just in case, two things I forgot: Many (if not most) computers have several MAC addresses. The laptop I'm writing this on has six network interfaces, four with a hardware address and of those three with an actual MAC: * Ethernet device (built in, fixed MAC, which I did not bother to change)

Re: [Interest] Unique - Hardware bound - ID

2013-05-16 Thread Konrad Rosenbaum
Hi, On Thursday 16 May 2013 01:14:40 you wrote: Some discouragement (from personal experience): - often systems have more then 1 network card and do not guarantee that they will return the same MAC addresses even after simple reboot (Windows XP as an example) not even counting different

Re: [Interest] Unique - Hardware bound - ID

2013-05-15 Thread Konrad Rosenbaum
On Tuesday 14 May 2013 22:27:23 Alex Malyushytskyy wrote: Such things are normally resolved using MAC address on any system, which is unique for every network adapter, But there always may be a system which does not have network adapter, have a few network adapters or does not let you to

Re: [Interest] Qt 5.0.2 WebKit won't compile (JSCrypto)

2013-05-02 Thread Konrad Rosenbaum
P.S. In every build trial I had to start from a vanilla copy of the sources - the nmake confclean mentioned by the configure output does not work. If you are building from git, open a GIT bash window and do: git clean -dfx git submodule foreach 'git clean -dfx' This removes all generated files

Re: [Interest] qmake: questions regarding huge projects

2013-04-22 Thread Konrad Rosenbaum
On Friday 19 April 2013 13:36:36 Bo Thorsen wrote: Den 19-04-2013 12:29, Rainer Wiesenfarth skrev: well, I know about cmake, but was going for something less cryptic... :-) We have some fancy build stuff (f2c, versioning, ...), but I was hoping to get it done with qmake, _because_ it is

Re: [Interest] hi guys

2013-04-15 Thread Konrad Rosenbaum
On Thursday 11 April 2013 20:04:22 Akshay Nautiyal wrote: how can i dynamically compile a qt application with an older version of glibc.Aim is to run on os' like centos 6. The easiest way would be to get a VM with this older version running and do the release compiles there. Konrad

Re: [Interest] Oops! Somebody's got a bad case of dependency bloat!

2013-04-11 Thread Konrad Rosenbaum
Hi, On Wednesday 10 April 2013 21:35:04 Thiago Macieira wrote: I also call into question giving a developer such a locked down system. If an employee needs a given tool to accomplish a job, give it to them. Don't make the employee work around the issue and waste their time. Unfortunately this

Re: [Interest] Compile Qt for windows 32-bit using mingw-w64

2013-04-08 Thread Konrad Rosenbaum
On Monday 25 March 2013 13:58:38 Koehne Kai wrote: adding -m32 should work, but I haven't tested it since a while. The 'official' and bullet-proof method is to just install a native 32 bit toolchain (mingw-w64 based compilers usually can be downloaded as 32 bit or 64 bit). I recommend the

Re: [Interest] Automated testing of Qt5 app

2013-03-07 Thread Konrad Rosenbaum
Hi, On Thursday 07 March 2013, Ramakanthreddy_Kesireddy wrote: We developed an application which uses QtQuick2.0, Qt3D,QtMutimedia and QtLocation modules. Please let me know if there any automated testing tools(openource/licensed) which would support Qt5 and generate test report.

Re: [Interest] Contributing to Qt : when you're a spare contributor

2013-01-24 Thread Konrad Rosenbaum
Hi, On Thursday 24 January 2013 16:26:13 Дмитрий Волосных wrote: While the issue is fixable quite easily (in fact, I've downloaded Qts sources and fixed it), but it is not an easy task to make it submitted to the master branch, considering all the specifics of contribution procedure of Qt,

Re: [Interest] [PATCH qtbase] qlinuxfbscreen: fix crash in switchToGraphicsMode()

2013-01-10 Thread Konrad Rosenbaum
Hi, On Thursday 10 January 2013 09:38:49 Sergio Ahumada wrote: On 01/10/2013 08:28 AM, Konrad Rosenbaum wrote: Since the function already receives as argument the address of oldMode, there is no need to do oldMode when doing the ioctl() call. The master branch is gone. Please submit

Re: [Interest] Qt5 mingw builds

2013-01-09 Thread Konrad Rosenbaum
Hi, On Wednesday 09 January 2013 10:09:13 Дмитрий Козлов wrote: One month ago I cross-compiled Qt5 from git sources with mingw ( http://mxe.cc ). It took some magic to compile it. I used this script extracts sources from tar archive, builds and installs. http://pastebin.com/ewDE61GZ Wow! I

Re: [Interest] [PATCH qtbase] qlinuxfbscreen: fix crash in switchToGraphicsMode()

2013-01-09 Thread Konrad Rosenbaum
Hi, On Wednesday 09 January 2013 23:48:42 Giuseppe D'Angelo wrote: On 9 January 2013 23:32, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: The switchToGraphicsMode() function calls the KDGETMODE ioctl() call, but passes the address of oldMode, which is already a pointer.

Re: [Interest] Qt5 mingw builds

2013-01-08 Thread Konrad Rosenbaum
On Tuesday 08 January 2013, Diego Iastrubni wrote: On Tue, Jan 8, 2013 at 9:51 AM, Konrad Rosenbaum kon...@silmor.de wrote: One hint that will make it easier: do not try to use GCC as a cross-compiler! Like the Mingw32 gcc to compile for 64bits or the Mingw64 gcc to compile 32bits

Re: [Interest] Qt 5 and filesystem

2013-01-07 Thread Konrad Rosenbaum
On Monday 07 January 2013 22:12:11 Charley Bay wrote: QML is so visual and dynamic, that IMHO there are *much* better ways to visualize stuff (like files) than through a tree-view. Fundamentally, IMHO tree-views are so incredibly wasteful regarding visual-real-estate. I concede tree-views

Re: [Interest] Qt5 mingw builds

2013-01-07 Thread Konrad Rosenbaum
On Tuesday 08 January 2013 02:21:20 Jason H wrote: I'm looking to do some Qt5/QML development, but I only see that vs2010 is being published. What free options do we have on mingw? I saw someone having trouble mingw64. Is mingw32 any better? MinGW 32 and 64 bit are not that different, 64bit

Re: [Interest] QtConFile

2012-09-18 Thread Konrad Rosenbaum
Hi, On Tuesday 18 September 2012 09:15:32 Igor Mironchik wrote: QtConfFile - it's C++/Qt library for reading and saving configuration files in a special format. Configuration file format is a set of tags, which are surrounded by curly brackets, with values. Tags can be without values, can

Re: [Interest] Problem about signals/slots in Qt 5

2012-09-18 Thread Konrad Rosenbaum
On Tuesday 18 September 2012 14:21:58 Stephen Chu wrote: On 9/18/12 4:10 AM, Thiago Macieira wrote: How could I solve this? In Qt 4 I could specialize the signal using SIGNAL(valueChanged(int)), how could I do in Qt 5? void (QSpinBox:: *signal)(int) = QSpinBox::valueChanged;

Re: [Interest] My experience porting to Qt5 (on OS X)

2012-09-12 Thread Konrad Rosenbaum
Hi, On Wednesday 12 September 2012 19:16:29 Till Oliver Knoll wrote: Am 12.09.2012 um 17:47 schrieb Stephen Kelly stephen.ke...@kdab.com: On Wednesday, September 12, 2012 16:20:01 Nikos Chantziaras wrote: Note that if you just do: #include Whatever then you can build with both Qt4

Re: [Interest] TCP ACK with QDataStream -- OR: disconnect race condition detection

2012-09-11 Thread Konrad Rosenbaum
/critical). On Sep 10, 2012 11:43 PM, Konrad Rosenbaum kon...@silmor.de wrote: * You do not need to checksum them against physical defects. A 16bit CRC is more than adequate for simple physical defects in todays networks. The probability that 2 bits flip in a way that keeps the checksum

Re: [Interest] TCP ACK with QDataStream -- OR: disconnect race condition detection

2012-09-11 Thread Konrad Rosenbaum
Hi, On Tuesday 11 September 2012 06:40:23 d3fault wrote: From this thread I've learned: It's useless for an application layer to receive transport layer acks... but from that we can now conclude that the transport ack is mostly* worthless in any case where the application layer protocol

Re: [Interest] QLabel with images

2012-09-11 Thread Konrad Rosenbaum
Hi, On Tuesday 11 September 2012 15:20:33 Sensei wrote: I need to display a QLabel that has an image and text in it, in particular, a semi-transparent icon. All, without implementing another custom widget. Googling, I found no ways of adding text and images, since one excludes the other.

Re: [Interest] TCP ACK with QDataStream -- OR: disconnect race condition detection

2012-09-10 Thread Konrad Rosenbaum
Hi, let's cut it short and come back to your problem. On Sunday 09 September 2012 20:54:09 d3fault wrote: Haha, funny. Reliable doesn't mean reliable. Who knew... No it is just a different kind of reliable. TCP reliable: TCP guarantees that you have a stream. Bytes arrive at the application

Re: [Interest] What did I do?

2012-09-05 Thread Konrad Rosenbaum
Hi, On Wednesday 05 September 2012 00:37:11 Bill Crocker wrote: What did I do? Nothing. This is the default. In my app, when I click in a section of the horizontal header a table view, all items in the corresponding column are selected. Is this a default behavior? Must I have done

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-30 Thread Konrad Rosenbaum
Hi, On Wednesday 29 August 2012 16:24:44 chuck.pier...@nokia.com wrote: Is there an interest on this list in learning about the business implications of going LGPL using the Trolltech example? Yes, I think this would be very helpful to quite a few of us. License discussions happen quite often

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-15 Thread Konrad Rosenbaum
Hi, On Tuesday 14 August 2012 17:47:37 Atlant Schmidt wrote: Chuck: Adding LGPL as a license option had an enormous impact on the commercial business but it also grew the number of users by an order of magnitude over the same time period. But all of those new LGPL users were *NOT*

Re: [Interest] Digia to acquire Qt from Nokia

2012-08-15 Thread Konrad Rosenbaum
On Wednesday 15 August 2012 14:06:08 you wrote: Konrad: Wrong: it decreases the direct sales value, but hugely increases the use value and with that the indirect sales value. And the indirect sales value matters not a whit to the owner of the software (or the shareholders of the

  1   2   >