Dear all,
I have a "worker" QObject of class Worker, that I push to a separate
QThread "workerThread" using moveToThread from my main thread.
The doc says the moved object should have no parent. Which means the Worker
will not be deleted when my main app QObject closes. For cleaniness of the
code
Thanks for the answer. This leads me to two questions:
1) It's then unsafe to destroy the QThread in a slot connected to
"finished", as it is in fact "aboutToFinish", am I right? But deleting
after terminate() signal or after return from wait() is safe.
2)One poorly documented thing about QThread,
Dear all,
I am encountering the following issue using QGridLayout in a widget.
The QGridLayout is currently used for displaying labels along a grid with
two columns, in a subclassed QWidget. This QWidget was set as the widget of
a QSCrollArea, the QScrollArea is the content of a QDockWidget.
1)
Hi,
Do you want to force the thread to sleep (ie pause its execution for some
time) from the main thread? I do not think there is a generic solution, you
cannot force a thread to pause.
But:
- If the thread uses an event loop, you can have a QObject that you create
and move to this thread using
Tried, with no success.
Surprisingly, if I directly set my QWidget as the QDockWidget content, it
works.
But if I put a QScrollArea as the QDockWidget content, and my QWidget as
QScrollArea content, it does not work.
Something is wrong with the QScrollArea
Etienne
2013/3/19 preeteesh kakkar
>
ter.
*See also *widget
().
2013/3/19 Etienne Sandré-Chardonnal
> Tried, with no success.
>
> Surprisingly, if I directly set my QWidget as the QDockWidget content, it
> works.
> But if I put a QScrollArea as the QDockWidget content, and my QWidget as
> QScrollArea content, it
Dear all,
I want to use QMainWindow::restoreState for restoring window dock widgets.
saveState works well in closeEvent (I have some data in the registry wrote
with QSettings).
restoreState does not work when called from the constructor (nothing is
restored)
I h
__
Dear all,
I want to use QMainWindow::restoreState for restoring window dock widgets.
saveState works well in closeEvent (I have some data in the registry wrote
with QSettings).
restoreState does not work when called from the constructor (nothing is
restored)
I have googled for this, most people p
> Use a boolean to only restore on the first call to showEvent ?
I will do this... I just wanted to avoid adding much of these
variables, as the class is becoming larger and larger...
>
> Post some code showing where you are using it in the constructor?
>
> I use it in mine and it works fine.
Th
Dear all,
I'm currently using a QThread with a QObject pushed in it using
moveToThread. The QObject is basically a network server of class
NetworkServer, it has a close() slot that closes the QTcpServer and
outputs a "Port closed" message to the console.
In my main thread, I have a signal "closeSe
> First of all, you do not need threads for that. QTcpServer and QTcpSocket work
> just fine in non-blocking mode, their default mode of operation.
I simplified, but the server worker object is also doing some
intensive work (actually this is cloud computing).
> Second, make sure that your QTcpSe
>> Hi Guido
>>
>> It's very hard to make a guess with so little information.
>
> I know. But currently I don't have more and since there are quite a few
> experienced programmers here, I hoped someone would have experienced
> something similar. :-)
>
>> If the number of cores appears to affect th
I confirm that compiling a Qt application with -std=gnu++11 while Qt
was compiled without, works perfectly. This doesn't break the abi. I'm
also using rubenvb mingw-w64.
I could not compile with -std=c++11 as I have math constants such as
M_PI in many places, but if you really like to, I can do the
Actually, I suspect the compiler, since profiling with very sleepy is
also lacking caller information. Or both gdb and very sleepy are
unable to get the caller information from the executable produced by
mingw-w64. Could this be a SJLJ vs DWARF issue? My knowledge about
debugging information this i
e candidate announcement).
>
> Regards,
> Jonathan
>
>
> On 22/03/2013 7:44 PM, Etienne Sandré-Chardonnal wrote:
>>
>> Actually, I suspect the compiler, since profiling with very sleepy is
>> also lacking caller information. Or both gdb and very sleepy are
>> un
Dear all,
I'm working on a networked application, intended for use on local area networks.
So far it works fine using IPV4 addresses for connecting.
I recently tried passing a host name instead of IP address to
connectToHost(), this failed. After more investigation, the lookup
gives an IPV6 addre
I got it... In fact, I just learned that it's not possible to listen
on both IPv4 and IPv6 with the same socket, and that QHostAddress::Any
means only IPv4
Qt automatically uses the IPv6 when the DNS lookup returns both IPv4
and IPv6, which caused the issue.
How is it done usually in server appli
Etienne
2013/3/22 Giuseppe D'Angelo :
> On 22 March 2013 23:34, Etienne Sandré-Chardonnal
> wrote:
>> I got it... In fact, I just learned that it's not possible to listen
>> on both IPv4 and IPv6 with the same socket, and that QHostAddress::Any
>> means only IPv4
Hi Thiago,
What you said is contradictory with both the doc from Qt 4.8 (see
http://qt-project.org/doc/qt-4.8/qhostaddress.html) and with my tests.
Using QHostAddress::Any, my server does not listen to IPv6 (tested
with both my client app and with netcat) while it does with AnyIPv6
(it worked agai
Dear all,
I am still using the old mingw 32-bit shipped with Qt for my 32 bit
builds, and mingw-w64 for 64-bit. In order to harmonize everything and
to switch to c++11, I'd like to recompile Qt for 32 bit platforms with
the new compiler.
Do I simply need to add -m32 to the compiler and linker fla
I just tested 4.8.0, it works like a charm
Etienne
> Date: Fri, 22 Mar 2013 10:46:08 +0100
> From: Etienne Sandr?-Chardonnal
> Subject: Re: [Interest] [Mingw-w64-public] Compiling Qt (4 or 5) with
> "-std=c++11"
>
> I did test it in my app, with no improvement, but I may have to
> reco
Dear interest users,
I am designing a dock widget with some tools inside, mainly QLabels and
Tool buttons. At first, I organised it with horizontal and vertical lines
and nested layouts, with minimum sizes on my QLabels. This worked well.
When I organize it with QGroupWidgets, they do not respect
Dear interest users,
Another question about layouts.
I have a few labels in a small table layout. This layout is nested in a
horizontal layout with a spacer on the right. The "Xn", "Yn" and "Zn" label
policies are set to "Fixed" as this will never change in the app. The "N/A"
labels will be updat
The second image (showing the problem) is missing:
http://imageshack.us/a/img577/7843/example2e.png
Sorry,
Etienne
2013/4/10 Etienne Sandré-Chardonnal
> Dear interest users,
>
> Another question about layouts.
>
> I have a few labels in a small table layout. This layout
Just for me to know before I try to migrate to Qt 5 : with Qt 4 I simply
unzipped strawberry-perl in a folder and added the perl folder to my path.
Will this work with Qt 5?
Etienne
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-proje
Dear all,
I have compiled Qt on two Win7-64bit machines, with the same compiler
(recent mingw32-x64 rubenvb build, same exact version), and the same
command line options for configure. This is from the same Qt 4.8.1 source.
On both machines (a desktop and a laptop) my locally complied app runs fi
es+jan-arve.saether=digia@qt-project.org[mailto:
> interest-bounces+jan-arve.saether=digia@qt-project.org] *On Behalf Of
> *Etienne Sandré-Chardonnal
> *Sent:* 25. april 2013 17:19
> *To:* interest@qt-project.org
> *Subject:* [Interest] Warnings from Warning:QAccessibleWidget
Dear all,
By default, Qt Creator sets different build directories for debug and
release configurations. But in these two directories, it also creates a
"Release" And "Debug" subfolders and makefiles.
Is it safe to use the same build dir for both configuration? It builds the
.o and exe's in the Re
Dear all,
When I'm debugging my project (gcc 32 and 64bit mingw-w64, Qt 4.8.1) under
QtCreator (2.6.0), it's not ultra-fast, but usable, in most of my code.
However, when stepping inside my MainWindow class, and especially when
unrolling some "Locals and Expressions", it takes about 1min to respon
gards,
Etienne
2013/6/7 André Pönitz
> On Fri, Jun 07, 2013 at 12:59:38PM +0200, Etienne Sandré-Chardonnal wrote:
> > Dear all,
> >
> > When I'm debugging my project (gcc 32 and 64bit mingw-w64, Qt 4.8.1)
> under
> > QtCreator (2.6.0), it's not ultra-fast, but
> If someone is still pointing at a piece of memory then it
> is not a leak as defined by programs like Purify and Valgrind.
>
That's exactly what I meant by "That's not a leak in the classical sense"
>
> The most important thing to do is to understand how the program works.
> When does it alloc
Thanks, I will definitely give it a try. Are these faster than memcheck?
Because the app is computationally intensive (the CPU is fully loaded) and
runs for days, so for memcheck I had to run on simpler cases in order to
make the memcheck run shorter than years... Which is not ideal.
I will also t
The app was written by taking care of this, and the effectiveness of
deleteLater connections was checked by printing debug messages in
constructors and destructors. But something may have been left out.
Fragmentation is a dreaded issue. I don't think this is the culprit here,
the computation job b
I have found this blog post:
https://dragotin.wordpress.com/2014/08/14/monitor-the-qobject-tree-of-a-qt-app/
I will try using these callbacks to monitor the QObject tree. They are
absolutely undocumented (searching for the function name leads to the blog
page as first result...), are they maintain
Hi,
In order to understand a complex bug, I'm trying tu step into Qt sources
when debugging with Qt Creator under ubuntu.
As I'm using the ubuntu package for Qt5 libs, I also installed the
debugging symbols (qt5base-sbg) and the sources with apt-get source.
GDB under Qt creator seem to find the
Dear all,
I am debugging an app which crashes when an object is being deleted. The
debuggers halt on a segmentation fault inside QObject destructor. The
object deletion was requested by a call to deleteLater()
Here is what I get in the stack trace:
0QObject::~QObjectqobject.cpp993
warning("Renderer thread still running - forcing
terminate");
rendererThread->terminate();
}
}
}*/
}//Line 137
2015-11-09 16:38 GMT+01:00 Konstantin Tokarev :
>
>
> 09.11.2015, 18:22, "Etienne Sandré-Chardonnal" :
&
is again very suprising.
I use the debugger often and never had any problem like that before.
Cheers,
Etienne
2015-11-09 16:43 GMT+01:00 Gian Maxera :
>
> > On 9 Nov 2015, at 15:38, Konstantin Tokarev wrote:
> >
> >
> >
> > 09.11.2015, 18:22, "Etie
e code which is corrupting this QObject,
but I wonder how this is even possible to have a stack trace like that.
Upon
Etienne
2015-11-09 16:55 GMT+01:00 Etienne Sandré-Chardonnal :
> Dear Gian,
>
> I have checked that of course. But this is not the case, the destructor
> has been reduced
day 09 November 2015 16:21:44 Etienne Sandré-Chardonnal wrote:
> > Dear all,
> >
> > I am debugging an app which crashes when an object is being deleted. The
> > debuggers halt on a segmentation fault inside QObject destructor. The
> > object deletion was requested by a
By the way, I would have expected QQbject to "deparent" C before the
destroyed() signal is sent to connected slots. This would have prevented
the crash there.
Etienne
2015-11-10 8:01 GMT+01:00 Etienne Sandré-Chardonnal
:
> Hi,
>
> I have fixed the crash problem, but the d
I recently came across the following problem : my application, which does
heavy computing tasks distributed over multiple threads, uses
QThread::idealThreadCount() for deciding the optimal number of threads on
the system. One of my clients complained that the app was using only 50% of
the cores on
> That's what they said in the nineties as well. Didn't happen so far.
> Although there are aspects of NUMA in all processors today, it seems the
> general consensus is that you need very specific cases for any affinity
> sensitive code to actually be faster.
>
Yes, except if OSes put your process
Dear All,
I have a server app which currently spawns threads for processing tasks
from incoming connections.
I need to isolate these tasks in processes instead of threads (there are
several reasons for this, including the fact that tasks will run possibly
bugged plugin code and this should not cr
Thanks to all.
I did not know about QLocalSocket. I will definitely have a look.
Yes, stdin can be used in both blocking and non-blocking mode, but how to
avoid polling and callback upon data is available? This would imply running
a dedicated thread for blocking read and send a queued signal.
Sh
This is probably a superstitious/religious belief, I do not like polling
due to the latency/overhead tradeoff that you have to make anyway. Here I
need fairly low latency (about 50ms) so the polling should be at that
interval at most.
Also, I would bet that QSocketNotifier does not work with stdin
Hi Alan,
I am using QProcess already, but I was talking about the sub-process code
itself.
Etienne
2016-01-04 21:11 GMT+01:00 Alan Ezust :
> I would recommend using the QProcess class. It emits signals when you need
> to read data from it.
>
>
> On Mon, Jan 4, 2016 at 9:00 AM,
Hi,
I am adapting existing code from QTcpSocket to QLocalSocket (The TCP code
was used for distributing computations over a network, but since I also
want to separate the local computation in a sub-process, I'm using the TCP
code for IPC using QLocalSocket).
On the server side, the readyRead() si
I am under windows (mingw)
> He asked why canReadLine() always returns true when readLine() invokes in
> the loop, so the loop is infinite... Execution order doesn't explain it.
>
>
Yes, exactly. When the socket is closed, a canReadLine() or
bytesAvailable() reading loop while run indefinitely.
This was not really a complain but just a comment, since both classes have
nearly the same interface they could derive from a common one.
I could fix the canReadLine()==true issue by adding an isReadable() test,
but the socket not disconnecting from server side is more a problem. The
QLocalSocket
Dear all,
In a recent stress test, where I created 5 sub-processes, each one starting
idealThreadCount() fully working threads (ie they never sleep), I found
that a QTimer responsible for sending some information messages to the
sub-process stdout was stuck until the working threads stopped.
The
Hi,
I need to use libpng directly (for handling 16-bit depth & custom color
spaces correctly) in a Qt application.
>From your experience, what is the best way? Is it possible to use the
libpng from Qt, or is it better to use a separately built libpng? This
could lead to duplicate symbols when lin
Dear all,
I am compiling under windows with MinGW (64-bit)
I compiled Qt for static linking. I let the default options for configure
regarding jpeg support, and it seems that it choose using the system
libjpeg (as seen in config.summary), probably because it detected it. My
system libjpeg is the
ingly
>
> 2016-03-29 16:18 GMT+02:00 Etienne Sandré-Chardonnal <
> etienne.san...@m4x.org>:
>
>> Dear all,
>>
>> I am compiling under windows with MinGW (64-bit)
>>
>> I compiled Qt for static linking. I let the default options for configure
>> re
com>:
>>>
>>>> Either your PATH is set so the wrong libjpeg dll is found first, or qt
>>>> found the wrong jpeg include first.
>>>> If you don't care which version is used, set your PATH so that your
>>>> system libjpeg 6.2 is found fir
themselves.
Is this possible, and isn't this a bug?
2016-03-29 18:35 GMT+02:00 Thiago Macieira :
> On terça-feira, 29 de março de 2016 18:20:21 PDT Etienne Sandré-Chardonnal
> wrote:
> > I have looked into Qt sources, and three different libjpeg are shipped :
> > one with webki
:45 PDT Etienne Sandré-Chardonnal
> wrote:
> > My conclusion : With -system-libjpeg, Qt is set to link to the system
> > library, but no symbols from it are effectively linked with the
> > application. It seems that the linker finds libjpeg symbols exported by
> Qt
>
Dear all,
I have what seems to be a Qt bug in a desktop application. I'm using Qt
5.4.1 under windows, compiled with minGW.
My application is based on a QMainWindow with toolboxes, status bar, and a
tabbed central area. I use the Fusion style, redefined all the palette with
QApplication::setPalet
Here are two screenshots:
Normal display : http://www.eclat-digital.com/downloads/qtbug-normal.png
Bugged display : http://www.eclat-digital.com/downloads/qtbug-issue.png
It seems this also happens with windows RDP sessions.
Thanks,
Etienne
2016-04-19 14:20 GMT+02:00 Etienne Sandré-Chardonnal
locally)
2) Connect to that desktop via RDP with Visual Styles disabled (this
disables Aero)
The window, which was dark, is now white.
I'll file a bug of course
2016-04-20 12:04 GMT+02:00 Bo Thorsen :
> Den 20-04-2016 kl. 10:56 skrev Etienne Sandré-Chardonnal:
>
>> Here are tw
Hi,
I would like to detect if my application is already running from another
user account and warn the user.
I have tried QSharedMemory, but it seems that by design it is restricted to
a user namespace. I can create two shared memory segments with the same key
on the two user accounts and they wo
But how can I test if another app is already running with QSystemSemaphore?
I can set a semaphore with a single ressource (initial value = 1) and lock
it, but there is a single method aquire() which blocks forever if the value
is 0. So I can just make the second process freeze forever until the fir
Dear all,
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 OS does not have a system-wide
user-writable standard folder. There is /tmp on linux/unix
By the way, is there any reason not having a kind of tryLock in
QSystemSemaphore? It's barely usable with an infinite lock
2016-06-03 15:49 GMT+02:00 André Somers :
>
>
> Op 03/06/2016 om 15:26 schreef Nye:
>
>
>
> On Fri, Jun 3, 2016 at 4:23 PM, André Somers
> wrote:
>
>> Windows tends to mess
2016-06-04 0:02 GMT+02:00 Thiago Macieira :
> One of two options:
>
> a) not possible to implement with all backends; or
> b) no one thought to add it
>
I just found this:
https://bugreports.qt.io/browse/QTBUG-2443
___
Interest mailing list
Interest@q
what about keeping a server listening all the runtime?
> this would block the port for listening for the next program, which you
> can capture and handle as needed.
>
>
That's what I will do as a workaround. It's not 100% satisfactory as if the
port is already used elsewhere, this will prevent from
Hi,
When I try painting text over a QImage in a console only application with
QPainter::drawText, the program crashes.
Is there any way to enable font painting in a non GUI application? It
should work without any X server, so in that case Qt should have a fallback
font? This does not need to be p
I forgot to mention, could you send your qt version? I am seeing this on qt
5.4.2
Thanks,
Etienne
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Hi,
I have noticed a bug (regression from 5.4.2 to 5.6.1) related to the wrong
display of QMenu icons when the menu is populated dynamically.
The bug is filed : https://bugreports.qt.io/browse/QTBUG-54561
Before it is fixed, I would like to know if you have an idea on how to
circumvent it. It se
Hi,
I use libjpeg-turbo in my app for some time now.
Since I switched to Qt 5.6 (from Qt 5.4), reading any Jpeg image with
QPixmap crashes the app.
Is this a lib conflict? I linked with both Qt and libjpeg-turbo statically.
Could changing either to dynamic link solve the problem?
Thanks!
__
Thanks for your help!
Etienne
2016-07-07 9:46 GMT+02:00 Allan Sandfeld Jensen :
> On Wednesday 06 July 2016, Etienne Sandré-Chardonnal wrote:
> > Hi,
> >
> > I use libjpeg-turbo in my app for some time now.
> >
> > Since I switched to Qt 5.6 (from Qt
6-12 15:49 GMT+02:00 Dilshod Mukhtarov :
> On 10.06.2016 22:48, Etienne Sandré-Chardonnal wrote:
>
> I forgot to mention, could you send your qt version? I am seeing this on
> qt 5.4.2
>
> Thanks,
>
> Etienne
>
> The bug is reproducible for me.
>
> Qt: 5.7.0-rc,
Dear all,
I have a (large) application using TCP sockets to communicate. Both sides
of the TCP connection are the same application on two different machines,
so the code is known and debuggable on both.
Since the app was migrated from Qt 5.4 to 5.6, I have a problem : some
readyRead signals are n
After additional tests, bytesAvailable() is not growing either.
So on the sender, the packet has been sent, and the QTcpSocket flushed,
On the receiver, I have no readyRead signal(), and bytesAvailable() is zero.
This lasts forever (several minutes) until I send further data, and then I
get the s
ado, 9 de julho de 2016 15:19:23 PDT Etienne Sandré-Chardonnal wrote:
> > After additional tests, bytesAvailable() is not growing either.
> >
> > So on the sender, the packet has been sent, and the QTcpSocket flushed,
> > On the receiver, I have no readyRead signal(), an
nne
> Sandré-Chardonnal
> wrote:
> > Hi Thiago,
> >
> > After further investigation, the issue is not related to TCP but to
> > threads/events. It's on client (ie sender) side.
> >
> > I have the following order of events :
> >
> > Client * cli
To be honest, I am quite skeptical too :) but I'll figure this out...
2016-07-11 21:14 GMT+02:00 Thiago Macieira :
> On segunda-feira, 11 de julho de 2016 20:37:08 PDT Etienne
> Sandré-Chardonnal
> wrote:
> > I have tried to reconstruct a minimal application doing the same,
Hi,
I have an object which subclasses QThread for performing an asynchronous
operation. Before any objection rises about that, I know that for most uses
QThread subclassing is not the way to go, and creating an object which is
pushed to a regular QThread is better, and I'm doing it 99% of the time
Thanks, does that mean that the moc-generated signal member function is
made fully thread safe?
2016-08-26 10:36 GMT+02:00 Igor Mironchik :
> Hi,
>
> On 26.08.2016 11:33, Etienne Sandré-Chardonnal wrote:
>
> Hi,
>
> I have an object which subclasses QThread for perfo
Qt Commercial user here.
I do not like:
- Long time to get bugs fixed
- QtQuick requires switching to QML and is not usable directly in C++
- Widgets development got less attention due to QtQuick development.
HiDPI support was a good idea but it introduced many bugs
- C++ style is
in Tokarev :
>
>
> 19.09.2016, 19:09, "Thiago Macieira" :
> > On segunda-feira, 19 de setembro de 2016 10:40:08 PDT Etienne Sandré-
> > Chardonnal wrote:
> >> - C++ style is a little bit outdated (no move semantics fir
> instance)
> >
> >
Dear all,
I have a reproducible issue with qmake and headers dependency.
A class header (myclassimp.h) is properly listed in the .pro HEADERS list,
and its path is in DEPENDPATH (this is a relative subfolder of the project
file)
The abstract class (defined in abstractclass.cpp) directly includes
Dear all,
I'm trying to switch from Qt 5.6.1 to 5.6.2, using the same exact command
line to configure and compile.
configure works and properly detects system-png (I need to compile agains
my own libpng)
but building ends very quickly on "ERROR : libpng development package not
found"
The build
ake a lonnng time...
Is this a make bug??
Thanks
2016-10-28 21:23 GMT+02:00 Etienne Sandré-Chardonnal :
> Dear all,
>
> I'm trying to switch from Qt 5.6.1 to 5.6.2, using the same exact command
> line to configure and compile.
>
> configure works and properly detects system-p
In fact, building without -j also fails on the same error, after 10 minutes
instead of 1 second. The problem is still there.
2016-10-28 21:38 GMT+02:00 Etienne Sandré-Chardonnal :
> I forgot to mention, I'm using mingw-w64 under windows.
>
> After more tests, the build fails only
. 2016 22:00, "Bob Hood" a écrit :
> I just built full 5.6.2 in both release and debug in the last 24 hours,
> and I had no errors at all building it.
>
> This is under Windows using command line Visual Studio 2013 + jom w/ 24
> threads.
>
>
> On 10/28/2016 1:23 P
>
> Regards
>
> Kai
>
> > -Original Message-
> > From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org]
> > On Behalf Of Etienne Sandré-Chardonnal
> > Sent: Friday, October 28, 2016 9:51 PM
> > To: interest@qt-project.org
> > S
Dear all,
I am reopening an old Windows project which was building a DLL. That DLL is
not a Qt plugin, it is a plain DLL with a custom interface.
Now, I am using Qt static (commercial license) and it seems that because of
this, qmake generates a static library (.a) instead of a dll.
Is there a w
Dear all,
I have a big table made of QVariants of many subtypes (dates, floats,
integers, etc...)
I need to output it in csv format with a user defined locale.
It seems, after searching the documentation for all possible ways:
1) QTextStream can be set a locale, but it does not accepts QVariant
Dear all,
I cannot manage to enable dropping data into an Item View class.
Basically:
- The model is a custom QAbstractItemView subclass, having a tree
structure. Column 1 is editable
- The view is a standard QTreeView
I would like to drop data from another widget in the editable field (colum
ight mouse button does not trigger any menu. Is this implemented in View
Widgets?
Thanks,
Etienne
2014-10-16 10:46 GMT+02:00 Etienne Sandré-Chardonnal :
> Dear all,
>
> I cannot manage to enable dropping data into an Item View class.
>
> Basically:
> - The model is a cu
Hi,
I'm thinking of buying a new laptop for developping with Qt under Windows.
Most high-end laptops now have very high resolution displays (3K or 4K, on
14-15inch screens). Is QtCreator useable on these screens? Can every text
be upscaled so that nothing looks tiny?
Thanks!
Etienne
my 3k 15 Inch screen, on
> Windows:
>
>
>
> http://picpaste.com/pics/QtCreatorWindowsHighDpi.1423651325.png
>
>
>
> I launched it with environment variable “QT_DEVICE_PIXEL_RATIO” set to “2”
> and command line parameter “-style fusion”.
>
>
>
> Br,
>
&g
Dear all,
I have a client/server app written fully in Qt 4.8.5, running under Windows
7 64bit
When the client tries to connect to the server over a local ethernet
network in the same room.
QTcpSocket::connectToHost returns almost immediately when using the IPv4
host address, while it takes nearl
Hi Thiago,
Windows ping -6 to the IPv6 address has no delay.
The DNS issue was my first guess, but now I specifically resolve the name
with QHostInfo, which takes no time, and select either the resulting v4 or
v6 address (it returns both) to give it to connectToHost
Last time I did packet sniffi
Thanks to both
The original question was about the convenience of a high DPI dev laptop
with Qt Creator, but now I think I will need one for making my app high dpi
compatible.
Regards,
Etienne
2015-02-11 16:48 GMT+01:00 René J.V. :
> On Wednesday February 11 2015 15:16:37 Portale Alessandro wr
I use WiX for my commercial Qt app, because:
- All is defined in an XML file (.wxs) which is well handled by version
control (mercurial)
- The resulting installer gives a nice "windows native" feel to the
end-user, especially the UAC part
However, the learning curve is definitely not the fastest
15, at 12:36 AM, Etienne Sandré-Chardonnal <
> etienne.san...@m4x.org> wrote:
> >
> > The original question was about the convenience of a high DPI dev laptop
> with Qt Creator, but now I think I will need one for making my app high dpi
> compatible.
>
> I had my com
Hi Allan,
Where can I set the DPI? In the API?
Thanks
On 13 mars 2015, at 22:57, Allan Sandfeld Jensen wrote:
> On Friday 13 March 2015, Etienne Sandré-Chardonnal wrote:
>> Hi,
>>
>> I just got a 1920x1080 14" laptop, this fairly high but not huge DPI. I
>> have
Dear all,
My app is writing a file to a SMB share under windows 7.
It takes about 30s to write a 4MB file, whereas copying a 180MB file with
explorer takes 2s, so there is clearly a performance issue.
When the 4MB file is written to a local folder, it's done almost instantly
(~100ms).
What coul
1 - 100 of 258 matches
Mail list logo