Re: [Interest] QML and mac system menu

2019-09-10 Thread Andreas Pakulat
Hi, On Tue, Sep 10, 2019 at 3:26 PM Mitch Curtis wrote: > > -Original Message- > > From: Interest On Behalf Of Alexander > > Dyagilev > > Sent: Tuesday, 10 September 2019 3:11 PM > > To: interestqt-project.org > > Subject: [Interest] QML and mac system menu > 2) Is there a way to add

Re: [Interest] need advise on QStandardItemModel vs. QAbstractTableModel

2016-01-13 Thread Andreas Pakulat
Hi, On Wed, Jan 13, 2016 at 11:07 PM, Frank Rueter | OHUfx wrote: > Thanks Bo, > > when you say "it's bad in so many ways", are you referring to performance? > > I just realised that my last conversation with Jason had dropped the CC to > the list, so here it is again : > > so a few lines into t

Re: [Interest] Qt 5.5 DEB (or other install package) for Ubuntu 14.04 out there?

2015-10-12 Thread Andreas Pakulat
Hi, On Mon, Oct 12, 2015 at 7:08 PM, Jason Kretzer wrote: > We are currently building on a 14.04 installation. However, when I take > the DEB that is created to another pc with a stock installation of 14.04, > the DEB will not install since it relies on packages that are not available > through

Re: [Interest] link error (and probably a dumb question)

2015-09-16 Thread Andreas Pakulat
Hi, On Wed, Sep 16, 2015 at 12:46 PM, René J. V. wrote: > Rainer Wiesenfarth wrote: > > > I _think_ that the first command resolves references strictly ordered > > (Q55Sql first, then Qt5Core) while the second resolves them in common. > > > > In this case, using > > > >... -lQt5Sql -lQt5Core

Re: [Interest] debugging: how to get meaningful QObject information in a command line session

2015-05-26 Thread Andreas Pakulat
Hi Rene, Thiago pointed you to QObject functions, those only work on instances of QObject. QString does not subclass QString and hence you cannot call those functions on a QString. For QString debugging there's QString::toUtf8().data() which will give you a temporary C string that can be printed.

Re: [Interest] Include error in a ui generated code

2015-04-17 Thread Andreas Pakulat
Hi, On Fri, Apr 17, 2015 at 10:35 AM, Etienne Sandré-Chardonnal < etienne.san...@m4x.org> wrote: > Dear all, > > I'm struggling with this compilation error since this morning: > > ui_mainwindow.h:13: error: QtGui/QAction: No such file or directory > #include > > As the file name suggests, this i

Re: [Interest] json file handling

2015-04-15 Thread Andreas Pakulat
Hi, Am Mittwoch, 15. April 2015 schrieb Andre Somers : > On 15-4-2015 17:25, Thiago Macieira wrote: > > On Wednesday 15 April 2015 16:36:15 André Somers wrote: > > As for XML, the format may not be suitable but QXmlStreamWriter is since > it > > keeps the state of which tags it needs to close and

Re: [Interest] QtWebkit replacement status...

2015-03-23 Thread Andreas Pakulat
Hi, On Mon, Mar 23, 2015 at 4:14 PM, Frank Hemer wrote: > Hi Scott, > > On Monday 23 March 2015 15:00:16 Scott Aron Bloom wrote: > > Which version of Qt should I use? 5.4? > > > > well, I currently use Qt5.4.0 with webkit since there recently have some > annoying bugs with the nsapi plugin been

Re: [Interest] Unable to build with CONFIG+=debug due to missing libraries

2015-02-28 Thread Andreas Pakulat
Hi Nikos, On Sat, Feb 28, 2015 at 2:43 PM, Nikos Chantziaras wrote: > On 28/02/15 15:36, Andreas Pakulat wrote: > > Hi Nikos, > > > > On Sat, Feb 28, 2015 at 1:01 PM, Nikos Chantziaras > <mailto:rea...@gmail.com>> wrote: > > > >

Re: [Interest] Unable to build with CONFIG+=debug due to missing libraries

2015-02-28 Thread Andreas Pakulat
Hi Nikos, On Sat, Feb 28, 2015 at 1:01 PM, Nikos Chantziaras wrote: > On Linux, I can always build my project with CONFIG+=debug and debug it. > I don't have a debug version of Qt installed. Just the release one. > > But when building for Windows, this doesn't work: > >qmake CONFIG+=debug >

Re: [Interest] -headerdir causing headerfile version confusion building qtwebengine (was Qt5 cannot be build on Debian Wheezy? GLIBCXX_3.4.20' not found)

2015-01-19 Thread Andreas Pakulat
Hi Rene, On Tue, Jan 20, 2015 at 12:08 AM, René J.V. wrote: > On Monday January 19 2015 14:30:28 Thiago Macieira wrote: > > I don't have to. This is standard practice already. All the major Linux > > distros build their packages like I described. Look at Fedora's Koji or > the > > Open Build Sys

Re: [Interest] Qt 5.3 vs Qt 5.4 (etc)

2015-01-12 Thread Andreas Pakulat
Hi Rene, On Sun, Jan 11, 2015 at 10:55 PM, René J.V. wrote: > On Sunday January 11 2015 22:24:37 Andreas Pakulat wrote: > > Hi Andreas, > > > > If this principle was in place for Qt 5.2 too, I can thus upgrade my > Linux > > > box's Qt 5.2 (Ubuntu 14.0

Re: [Interest] Qt 5.3 vs Qt 5.4 (etc)

2015-01-11 Thread Andreas Pakulat
Hi Rene, On Sat, Jan 10, 2015 at 11:35 AM, René J.V. wrote: > If this principle was in place for Qt 5.2 too, I can thus upgrade my Linux > box's Qt 5.2 (Ubuntu 14.04) to Qt 5.3.2 (backported from Ubuntu Vivid > Velvet) without breaking the slew of packages that depend on Qt5? > Its been in plac

Re: [Interest] Best way to get a QWidget from a device context (HDC)

2015-01-07 Thread Andreas Pakulat
Hi Jason, On Wed, Jan 7, 2015 at 9:16 PM, Jason Dolan wrote: > I’m stuck with some 3rd party code where the input is a device context > (HDC), and I need to get the widget it’s associated with. > > My current implementation (completely untested as of yet) is: > > QWidget *w = QWidget::find((WId)

Re: [Interest] [Qt4.8] UI events coming through despite QEventLoop::ExcludeUserInputEvents

2014-11-10 Thread Andreas Pakulat
Hi, On Mon, Nov 10, 2014 at 2:23 PM, René J.V. wrote: > On Monday November 10 2014 13:57:46 Andreas Pakulat wrote: > Hi > > > Without Qt sources thats impossible to say for sure, but it also receives > > flags and it calls another function which again has no 'gui&#x

Re: [Interest] [Qt4.8] UI events coming through despite QEventLoop::ExcludeUserInputEvents

2014-11-10 Thread Andreas Pakulat
Hi, On Mon, Nov 10, 2014 at 11:35 AM, René J.V. wrote: > Hi, > > What about this backtrace snippet I got this morning? > > #0 0x751d1c6d in poll () at ../sysdeps/unix/syscall-template.S:81 > #1 0x7fffeeda0fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #2 0x7fffeeda

Re: [Interest] [Qt4.8] UI events coming through despite QEventLoop::ExcludeUserInputEvents

2014-11-08 Thread Andreas Pakulat
Hi, On Sat, Nov 8, 2014 at 10:28 AM, René J.V. wrote: > On Saturday November 08 2014 10:08:54 Andreas Pakulat wrote: > > >On MacOSX there's other code that integrates into MacOSX equivalent of a > >systray. As I said this is likely done through libkdeui, i.e. kdelibs has

Re: [Interest] [Qt4.8] UI events coming through despite QEventLoop::ExcludeUserInputEvents

2014-11-08 Thread Andreas Pakulat
Hi, On Fri, Nov 7, 2014 at 11:53 PM, René J.V. wrote: > On Friday November 07 2014 23:09:16 Andreas Pakulat wrote: > > I have no clue about libdbusmenu-qt or how it works. kdeui seems to link > it > > in, so any KDE app will use it too. Plasma links against it as well, s

Re: [Interest] [Qt4.8] UI events coming through despite QEventLoop::ExcludeUserInputEvents

2014-11-07 Thread Andreas Pakulat
Hi, On Fri, Nov 7, 2014 at 5:09 PM, René J.V. wrote: > On Friday November 07 2014 16:49:21 Andreas Pakulat wrote: > > Hi > > >Let me clarify something since you're always talking about UI events, but > > I should clarify something too: the 1st crash report I

Re: [Interest] [Qt4.8] UI events coming through despite QEventLoop::ExcludeUserInputEvents

2014-11-07 Thread Andreas Pakulat
Hi, On Fri, Nov 7, 2014 at 2:41 PM, René J.V. wrote: > On Friday November 07 2014 14:16:07 Andreas Pakulat wrote: > > even if the dbus message is triggered through a user event (like clicking > > in the menubar or so) thats not possible for Qt to see anymore since a > dbus

Re: [Interest] [Qt4.8] UI events coming through despite QEventLoop::ExcludeUserInputEvents

2014-11-07 Thread Andreas Pakulat
Hi, On Fri, Nov 7, 2014 at 1:12 PM, René J.V. wrote: > On Friday November 07 2014 12:44:27 Andreas Pakulat wrote: > >Looking at that backtrace I don't see UserInput events. At least > >QTimerInfoList::activateTimers suggests a QTimer fires, thats not a > >UserInput

Re: [Interest] [Qt4.8] UI events coming through despite QEventLoop::ExcludeUserInputEvents

2014-11-07 Thread Andreas Pakulat
Hi, On Fri, Nov 7, 2014 at 11:10 AM, René J.V. wrote: > I'm using KDE's KMail on Linux and Mac OS X, and I've been dealing with > crashes on both platform when UI events "come through" during the shutdown > phase. > > Specifically, KMail's cleanup procedure runs a few so-called KJobs (a > class

Re: [Interest] Qt5, XCB and X11

2014-07-12 Thread Andreas Pakulat
Hi Till, On Sat, Jul 12, 2014 at 3:03 PM, Till Oliver Knoll < till.oliver.kn...@gmail.com> wrote: > Am 11.07.2014 um 20:52 schrieb Andreas Pakulat : > > ... > > > Its true that it makes it harder, but it also means having to carry around > more duplicated code. Recentl

Re: [Interest] Qt5, XCB and X11

2014-07-11 Thread Andreas Pakulat
Hi, On Fri, Jul 11, 2014 at 5:37 PM, Till Oliver Knoll < till.oliver.kn...@gmail.com> wrote: > Thanks for clarifying! > > Am 11.07.2014 um 16:29 schrieb Andreas Pakulat : > > Hi, > > On Fri, Jul 11, 2014 at 2:47 PM, Till Oliver Knoll < > till.oliver.kn...@gmail

Re: [Interest] Qt5, XCB and X11

2014-07-11 Thread Andreas Pakulat
Hi, On Fri, Jul 11, 2014 at 2:47 PM, Till Oliver Knoll < till.oliver.kn...@gmail.com> wrote: > But other systems such as Linux also share some affinity to the "DLL > Hell": agreed, most developers there have learned from the very beginning > that it is probably not a good idea to install their ow

Re: [Interest] QtCreator and Ctrl+Shift bindings

2013-11-18 Thread Andreas Pakulat
Hi, On Sun, Nov 17, 2013 at 7:42 PM, Thiago Macieira wrote: > On domingo, 17 de novembro de 2013 20:24:31, Oleg Shalnev wrote: > > To tell the truth I don't understand why there is no reaction on thi > > message. > > May be this problem is not a problem, or it's not interesting to the > people >

Re: [Interest] Compiler Error from moc_MainWindow.cpp

2013-09-06 Thread Andreas Pakulat
Hi, On Fri, Sep 6, 2013 at 7:09 PM, Mitchell Verter wrote: > Thanks for your response, Thiago. > > So your intutiion was correct: the error is coming from exacty a line > that says > > #define Bool int > > However, this line is located in the the X11 libraries, in Xlib.h. > > I was using X11 to

Re: [Interest] Detecting Qt version in cmake

2013-09-05 Thread Andreas Pakulat
Hi, On Thu, Sep 5, 2013 at 11:30 AM, Joseph W. Joshua wrote: > Hi all, > > When using cmake, how can one detect whether the Qt version in use is > greater that Qt4? In qmake, for example, I can determine whether the Qt > version is greater than Qt4 by using : > > greaterThan(QT_MAJOR_VERSION, 4)x

Re: [Interest] Converting std::string.c_str() code to use QString methods

2013-08-30 Thread Andreas Pakulat
Hi, On Fri, Aug 30, 2013 at 9:08 PM, Michael Jackson wrote: > I have a large code base that we are migrating to more fully utilize Qt > classes. Many places in the code have lines like the following: > > std::string path("/path/to/foo.txt"); > FILE* f = fopen(path.c_str(), "wb"); > > If the "path

Re: [Interest] Achieving resolution independent font sizes with Qt

2013-06-07 Thread Andreas Pakulat
Hi On Fri, Jun 7, 2013 at 3:57 PM, Nikos Chantziaras wrote: > Is there an approach I can take to make the font sizes in applications > independent of the current resolution? For example, let's say I choose > a font with a 12pt size, meaning setting it with > QFont::setPointSize(10). If the fon

Re: [Interest] Opening Folder location on a linux GUI

2013-05-23 Thread Andreas Pakulat
Hi, On Thu, May 23, 2013 at 7:03 PM, Michael Jackson wrote: > I would like to be able to show the location of a file in the file system > on a Linux machine ( I have code for OS X and Windows). Is there something > built into Qt that I am just missing? > > I have found the following links helpful

Re: [Interest] How to have 3 QTreeWidgets in a QScrollView share the same set of scroll bars

2013-05-10 Thread Andreas Pakulat
Hi Michael, On Fri, May 10, 2013 at 10:14 PM, Michael Jackson wrote: > I am redesigning part of my gui to use 3 QTreeWidgets laid out vertically > embedded in a ScrollView. What I would like to achieve is to have all three > TreeWidgets share a single unified ScollBar. Currently if any items wit

Re: [Interest] Add context menu to QTreeWidget based on Specific Item being clicked

2013-05-10 Thread Andreas Pakulat
Hi, On Fri, May 10, 2013 at 10:06 PM, Michael Jackson wrote: > I am trying to add a "right click" or context menu to a QTreeWidget where > the menu that gets popped up has menus that are specific to the item being > clicked on. So far all my attempts have failed. > > I have tried to add my highe

Re: [Interest] qmake: questions regarding huge projects

2013-04-19 Thread Andreas Pakulat
Hi, On Fri, Apr 19, 2013 at 10:35 AM, Mandeep Sandhu < mandeepsandhu@gmail.com> wrote: > > On Fri, Apr 19, 2013 at 12:18 PM, Rainer Wiesenfarth < > rainer_wiesenfa...@trimble.com> wrote: > >> I would like to ask for some "expert tutorial" or some hints for using >> qmake with huge projects. >

Re: [Interest] Several issues compiling Qt 4.8.4 with mingw-w64 4.8.1, possible related to "-std=gnu++11"

2013-04-16 Thread Andreas Pakulat
Hi, On Tue, Apr 16, 2013 at 1:34 PM, K. Frank wrote: > Hello Kai! > > On Tue, Apr 16, 2013 at 2:53 AM, Koehne Kai <> wrote: > > Actually I'd expect that to work just fine. The commonly reported issue > with mixing e.g. -std=c++11 and -std=gnu++98 (the default) is ABI changes > in the std:: names

Re: [Interest] How to use the ModelTest in my project?

2013-03-24 Thread Andreas Pakulat
Hi, On Sun, Mar 24, 2013 at 8:49 PM, Mark wrote: > Hi, > > I'm trying to include the modeltest in my project, but i seem to fail > quite badly doing that. Here is what i'm doing. > > 1. I'm following this "guide": http://qt-project.org/wiki/Model_Test > which btw is wrong. There is no "modeltest.

Re: [Interest] Porting to Qt5/macx-xcode Mountain Lion

2013-01-24 Thread Andreas Pakulat
Hi, On Thu, Jan 24, 2013 at 6:11 PM, Joshua Grauman wrote: >> On Thu, Jan 24, 2013 at 7:08 AM, Joshua Grauman >> wrote: >>> >>> First a disclaimer, I know very little about Mac OS specifics. I only >>> have >>> a Mac to build my app for it. >>> >>> I am porting two apps to Mac OS Mountain Lion a

Re: [Interest] Qt5 on MacOS X: State of the Toolbar

2013-01-24 Thread Andreas Pakulat
Hi, On Thu, Jan 24, 2013 at 10:13 AM, Sensei wrote: > On 1/23/13 10:43 AM, Sorvig Morten wrote: >> We are getting quite close, the function you are looking for is >> >> QtMacUnifiedToolBar* setUnifiedTitleAndToolBarOnMac(QToolBar *toolbar, bool >> on = true); >> >> which not far from 4.8's >> >>

Re: [Interest] Porting to Qt5/macx-xcode Mountain Lion

2013-01-24 Thread Andreas Pakulat
Hi, On Thu, Jan 24, 2013 at 7:08 AM, Joshua Grauman wrote: > First a disclaimer, I know very little about Mac OS specifics. I only have > a Mac to build my app for it. > > I am porting two apps to Mac OS Mountain Lion and Qt5. The apps have run > fine on quite a few of the Qt4 series versions in

Re: [Interest] Qt 5: how to disable single-click activation in QAbstractItemView's?

2012-12-28 Thread Andreas Pakulat
Am Freitag, 28. Dezember 2012 schrieb René Reucher : > Am 27.12.2012 22:14, schrieb Bache-Wiig Jens: > > That said, it should be relatively easy to work around this in an > application by creating a custom proxy style: > > > > class MyProxyStyle : public QProxyStyle > > { > > public: > >

Re: [Interest] Qt 5: how to disable single-click activation in QAbstractItemView's?

2012-12-27 Thread Andreas Pakulat
Hi, On Thu, Dec 27, 2012 at 9:28 PM, R. Reucher wrote: > I successfully managed to "port" all of my major applications to Qt 5, but I'm > facing some issues... the one that bothers me the most at the moment is the > fact that now every style seems to activate items on a *single* mouse-click, > in

Re: [Interest] Project using QuaZip needs zlib headers

2012-12-05 Thread Andreas Pakulat
Hi, On Thu, Dec 6, 2012 at 8:04 AM, Tony Rietwyk wrote: > I just incorporated the QuaZip project into my Qt 4.8.3 application which is > built on Windows, Mac OS and Debian platforms. quazip/zip.h refers to > zlib.h. In order to compile I have added this line to my .pro file: > > INCLUDEPATH

Re: [Interest] Qt5: Converting from a QPixmap to an NSImage on OSX

2012-11-03 Thread Andreas Pakulat
Hi, On Sat, Nov 3, 2012 at 7:31 AM, Colin Dean wrote: > When I compile against Qt 5.0.0-beta2, it errors at the line marked above. > Looking through the Qt5 documentation, it appears that > QPixmap::toMacCGImageRef() no longer exists. I looked through the > documentation and verified its presence

Re: [Interest] QCombox::currentIndexChanged(QString) emitted twice?

2012-10-17 Thread Andreas Pakulat
Hi, On Wed, Oct 17, 2012 at 3:22 PM, Eckhard Jokisch wrote: > Hi, > today I discovered that obviously the SIGNAL > QComboBox::currentIndexChanged(QString) is emitted twice when I select a > different item. The first time QString contains the previous string and > the second time it contains the

Re: [Interest] Docking Widgets - missing features

2012-09-16 Thread Andreas Pakulat
Hi, On Sun, Sep 16, 2012 at 3:08 PM, felix felix wrote: > The program i am porting makes heavy use of "Docking widgets". Now, prior to > bragging about it, i had checked Qt supported it, too. > It does, of course, but apparently with certain limitations. Yeap, its basically a 'poor mans' dockwid

Re: [Interest] Reading trees from QSettings

2012-08-30 Thread Andreas Pakulat
Hi, On Thu, Aug 30, 2012 at 7:27 PM, Sensei wrote: > On 8/30/12 4:39pm, BRM wrote: >> Are you sure 'sons' and 's.childGroups()' are the same thing? If you >> don't update 'sons' in the loop, then they're not likely the same >> thing. IIRC, 's' is manipulated as you move through the file - thus >>

Re: [Interest] Proper way of updating a model?

2012-08-22 Thread Andreas Pakulat
Hi, On Wed, Aug 22, 2012 at 8:53 PM, Jason H wrote: > I'd probably be using something like libQxt's RPC's functionality to publish > updates to you and incrementally adjust the model, a row at a time. > http://libqxt.bitbucket.org/doc/tip/qxtxmlrpcclient.html Doing changes in the itemviews a row

Re: [Interest] 64-bit internal ID for QModelIndex?

2012-08-21 Thread Andreas Pakulat
Hi, On Tue, Aug 21, 2012 at 11:54 PM, Stephen Chu wrote: > On 8/21/12 5:47 PM, Nikos Chantziaras wrote: >> Note that I didn't work with QAbstractItemModel before, so perhaps I'm >> not the most suitable person here to give advice. With that being said, >> you might be able to allocate like this:

Re: [Interest] QTSPCosket signal disconnected()

2012-08-21 Thread Andreas Pakulat
Hi, On Tue, Aug 21, 2012 at 10:17 AM, Igor Mironchik wrote: >> On terça-feira, 21 de agosto de 2012 11.04.14, Igor Mironchik wrote: >>> I'm playint with this issue. And notice that the problem is not played >>> too often. >>> Sometimes slotDisconnected() not invoked in general. What is problem to

Re: [Interest] Rows distributed evenly in QFormLayout on MacOS

2012-08-06 Thread Andreas Pakulat
Hi, On Mon, Aug 6, 2012 at 12:17 PM, Bo Elmgreen wrote: > Hi all, > > I use a QFormLayout for showing a list of settings - labels with a custom > slider widget - on a widget that has a fixed height. On Windows and Linux > the rows seem to be added, only taking up the vertical space that they need

Re: [Interest] Where are the USER properties of Qt-provided QObjects documented?

2012-06-28 Thread Andreas Pakulat
Hi, Am Donnerstag, 28. Juni 2012 schrieb K. Frank : > Hi Bo and André! > > > ... > > It seems that the take-away is that which property is the USER > property isn't documented (in the standard documentation). I suggest to override setModelData and not rely on the user property, since Qt may cha

Re: [Interest] Where are the USER properties of Qt-provided QObjects documented?

2012-06-27 Thread Andreas Pakulat
Hi, Am Donnerstag, 28. Juni 2012 schrieb Bo Thorsen : > Hi Frank, > > Den 28-06-2012 06:40, K. Frank skrev: > > Where in the documentation (not the source code) can I find out which > > of the properties of a standard Qt QObject class is the designated > > USER property? > > You can't find this,

Re: [Interest] qmake: Building a shared object which is not a lib

2012-06-27 Thread Andreas Pakulat
Hi, Am Mittwoch, 27. Juni 2012 schrieb Christian Gagneraud : > On 27/06/12 12:32, Mandeep Sandhu wrote: > > On Wed, Jun 27, 2012 at 4:29 PM, Christian Gagneraud > > > > wrote: > >> Hi there, > >> > [...] > > > > If you build a plugin, then the version links are not created, and > > simply the li

Re: [Interest] QAbstractItemView and default QItemSelectionModel

2012-06-25 Thread Andreas Pakulat
Hi, On Mon, Jun 25, 2012 at 11:59 PM, Eric Clark wrote: > Thanks Andreas! I know it doesn’t exactly answer my question, but you > are right, I can easily check this and I probably should just do the right > thing anyway and delete it. However, this suggestion: > > ** ** > > Or you could mak

Re: [Interest] QAbstractItemView and default QItemSelectionModel

2012-06-25 Thread Andreas Pakulat
Hi, On Mon, Jun 25, 2012 at 11:12 PM, Eric Clark wrote: > Hello All, > > ** ** > > I have a curious question about the default QItemSelectionModel that is > created whenever a QAbstractItemView is created: Is this default selection > model parented to the view? What I really want to know is

Re: [Interest] Catching selection in QTreeView

2012-06-18 Thread Andreas Pakulat
Hi, On Tue, Jun 19, 2012 at 8:32 AM, Waitman Gobble wrote: > > Hi, > > I am having an issue with the QTreeView and Key Bindings. It seems when > the selection changes from a keyboard event, it does not fire the function > bound to the signal. The mouse button causes the function to run as > desir

Re: [Interest] Can't Debug on Windows 7: Invalid parameter passed to C runtime

2012-06-14 Thread Andreas Pakulat
Hi, On Thu, Jun 14, 2012 at 8:13 AM, Till Oliver Knoll < till.oliver.kn...@gmail.com> wrote: > > > Am 14.06.2012 um 01:52 schrieb Josiah Bryan : > > > ... > > I'll double-check globals, but a stack trace is really what's needed > > here anyway - debugger just says "Application exited with exit co

Re: [Interest] Multicolored text in a QTableView cell?

2012-06-13 Thread Andreas Pakulat
Hi, On Wed, Jun 13, 2012 at 5:27 PM, Carl Schumann wrote: > Qt community, > > I would like to have multicolored text in a single QTableView cell. > Since labels can support multicolored text with a rich text string I > tried the following: > > QVariant MccModel::data(const QModelIndex &index, in

Re: [Interest] Automatic deletion of children of QObject

2012-06-12 Thread Andreas Pakulat
Hi, On Tue, Jun 12, 2012 at 9:32 PM, Jochen Becher wrote: > As children are stored in a simple list and new children will be > appended to its end it would be very simple to delete them in reverse > order: Simply traverse the list from count()-1 to 0. This would be a > one-line-change in method

Re: [Interest] Automatic deletion of children of QObject

2012-06-12 Thread Andreas Pakulat
Hi, On Tue, Jun 12, 2012 at 8:37 PM, Jochen Becher wrote: > Hi, > > Think of the following code: > > > QObject *parent = new QObject(); > QObject *childA = new QObject(parent); > QObject *childB = new QObject)parent); > > delete parent; > > > In which order would you expect childA and childB get

Re: [Interest] C++11 in Qt5

2012-06-11 Thread Andreas Pakulat
Hi, On Mon, Jun 11, 2012 at 11:09 PM, Rui Maciel wrote: > On 06/11/2012 09:52 PM, Giuseppe D'Angelo wrote: > > I think there's a misunderstanding: C++11 support IS NOT required to > > use or build Qt 5. If you have a recent compiler and enable C++11 > > support in Qt, then you get those nice ext

Re: [Interest] Why there is no Back button on my QWizard?

2012-05-17 Thread Andreas Pakulat
Hi, isn't that a back button in the top-left area of the window? Andreas On Thu, May 17, 2012 at 11:26 AM, 程梁 wrote: > I read about the documents and there are always a back button on QWizard > pages. > But when I run my application on Windows 7 64bits, there is no such a > button. > Could you

Re: [Interest] QTreeView and collapsing nodes

2012-05-08 Thread Andreas Pakulat
Hi, On Tue, May 8, 2012 at 5:31 PM, Jason Dictos wrote: > Good info, however I’ve confirmed that I’m not explicitly emitting that > layoutChanged signal when refreshing the nodes. > Unless you did so already, I'd connect a dummy-object to all the signals a model can emit to verify which are bei

Re: [Interest] QListView and collapsing nodes

2012-05-08 Thread Andreas Pakulat
On Tue, May 8, 2012 at 5:03 PM, Jason Dictos wrote: > So I have this QTreeView class, which I populate the underlying model with > things at various times. I am struggling with an issue though that whenever > I update a particular QModelIndex, that level of nodes is collapsed by the > view.

Re: [Interest] screen number problem on windows...

2012-05-02 Thread Andreas Pakulat
Hi, On Wed, May 2, 2012 at 3:45 PM, Alban Pellet wrote: > Since Qt 4.8.0 QWidget::restoreGeometry function doens’t restore the > widget on the right screen. > > Is there a way to make this bug taken in consideration, because it’s very > annoying to use Qt applications on Dual screens (designer

Re: [Interest] Standard QKeySequence for "Fullscreen"

2012-04-21 Thread Andreas Pakulat
On 21.04.12 11:23:19, Rick Stockton wrote: > On 04/21/2012 05:53 AM, Till Oliver Knoll wrote: > > > As a proof of concept, a naive "user settings aware" Qt implementation > > could be > > > > - When initialising QApplication and > > - When we detect running on KDE > > - Dynamically link to "

Re: [Interest] Standard QKeySequence for "Fullscreen"

2012-04-21 Thread Andreas Pakulat
On 21.04.12 14:53:13, Till Oliver Knoll wrote: > > Am 21.04.2012 um 13:04 schrieb Till Oliver Knoll > : > > >> I assume KDE does not provide a way for applications to query those > >> settings, > > > > Without any concrete knowledge of the KDE API: I can't imagine that there's > > /no/ such

Re: [Interest] Qt5 & Phonon?

2012-04-18 Thread Andreas Pakulat
On 18.04.12 17:53:49, Nikos Chantziaras wrote: > On 18/04/12 17:40, Andreas Pakulat wrote: > >> There's this "Is KDE required to make my apps work?" question again... > > > > I don't see what KDE has to do with this, Phonon is a Qt-based project > &g

Re: [Interest] Qt5 & Phonon?

2012-04-18 Thread Andreas Pakulat
On 18.04.12 16:16:47, R. Reucher wrote: > On Wednesday 18 April 2012 16:03:32 Andreas Pakulat wrote: > > On 18.04.12 14:27:30, R. Reucher wrote: > > As far as I can see there is no phonon shipping with Qt5, seems it was > > dropped. I guess configure was just not updated ye

Re: [Interest] Qt5 & Phonon?

2012-04-18 Thread Andreas Pakulat
On 18.04.12 14:27:30, R. Reucher wrote: > Hi list, > > I'm a bit confused... yesterday I've successfully built Qt 5 (from git), and > despite the qtwebkit-examples-and-demos module, *all* other modules were > enabled (that is, including QtWebKit and Phonon). > > I managed to make the required c

Re: [Interest] QLineEdit - clearing the password from memory

2012-04-04 Thread Andreas Pakulat
On 04.04.12 12:24:15, Marcus Frenkel wrote: > Hi > > I need to make sure that the password is not kept in memory when > QLineEdit is destroyed. I tried to use QLineEdit::clear() or > QLineEdit::setText() but the password string stays in memory. I > basically want to zeroise the private member stri

Re: [Interest] post event between threads

2012-04-02 Thread Andreas Pakulat
On 02.04.12 18:05:17, Riccardo Roasio wrote: > Hi, > > how can i post an event from a thread to another? > > my application have a thread that read from a serial port and another > thread that wait for something received on the serial port. > > I cannot use postEvent because in one thread i don'e

Re: [Interest] problem building with webkit

2012-04-02 Thread Andreas Pakulat
On 02.04.12 08:52:06, Duane wrote: > Using Fedora 16. configure/make/make install. > > Make fails building webkit with error "Project ERROR: Package > gstreamer-app-0.10 not found." > > Yum install qstreamer reports > > "Package gstreamer-0.10.35-1.fc16.i686 already installed and latest versi

Re: [Interest] qt.conf

2012-03-20 Thread Andreas Pakulat
On 20.03.12 10:49:58, Graham Labdon wrote: > Thanks for your reply > Does this imply that qt.conf cannot be used with windows? Sure it can be used, just not for what you want to do. > Is this situation the same on Linux? Yes, the dynamic linker runs before qt is being loaded and hence nothing is

Re: [Interest] qt5 shapshot - not git or guitorious

2012-03-15 Thread Andreas Pakulat
On 15.03.12 10:01:30, Jason H wrote: > I am looking for a snapshot of Qt5 but not from git or guitorius do to the > fact that git does not work through proxies, or rather, the proxy setup where > I am at. > > Talking about http_proxy and the like is off-topic. Been there and for > various reaso

Re: [Interest] QMdiWindow issues under Unity

2012-03-08 Thread Andreas Pakulat
On 08.03.12 20:26:07, Rui Maciel wrote: > On 03/08/2012 08:45 AM, Andreas Pakulat wrote: > > Similar problems can be seen with older Eclipse versions and other apps, > > Unity is simply a half-assed try at doing this by patching the hell out > > of the GUI toolkit libra

Re: [Interest] QMdiWindow issues under Unity

2012-03-08 Thread Andreas Pakulat
On 08.03.12 01:48:32, Rui Maciel wrote: > I've developed a small application whose UI basically consists of a > QMainWindow with a QMdiArea, which includes a set of QMdiSubWindow > widgets. A couple of QMdiSubWindow also include QMainWindow objects of > their own, in order to provide a QMenu th

Re: [Interest] Eclipse-like docking window?

2012-03-05 Thread Andreas Pakulat
On 05.03.12 12:37:10, jaume dominguez faus wrote: > Thanks Andreas. > > No, I don't want to dock views into an editor. That already works as > desired (it tabs the dragged view). The problem is that the main area of > the window is never occupied. It remains empty and since this is the > area t

Re: [Interest] Eclipse-like docking window?

2012-03-05 Thread Andreas Pakulat
On 05.03.12 09:17:29, jaume dominguez faus wrote: > Hi list. > > I have been playing around with the QDockWidget and QMainWindow. I can > easily dock and undock widgets on the borders of the main window. But > I'm interested in having an environment where you can freely add, move, > remove inte

Re: [Interest] Blended QProcess/QDesktopServices

2012-02-29 Thread Andreas Pakulat
On 29.02.12 05:14:33, Jason H wrote: > I don't care about signals, or slots at or when the file is closed. (Actually > I do, but I know that is irrational to expect) However if the process exits, > then I know for certain the file is closed by the application. QProcess will > give me this notifi

Re: [Interest] Unable to post here through GMane

2012-02-27 Thread Andreas Pakulat
On 27.02.12 22:58:37, Nikos Chantziaras wrote: > Since the Nokia NNTP server doesn't offer the new lists, Why should it? The new lists belong to the qt-project and are hosted there, so providing an nntp for them is none of Nokia's business. I'd suggest to talk to the qt-project.org admins to setup

Re: [Interest] QExtSerialPort

2012-02-27 Thread Andreas Pakulat
On 27.02.12 11:45:12, Duane wrote: > We've been using QextSerialPort for some MS specific programs. Now that > we need to port to Linux, there is a problem using events for writes. > > I'm looking for a more recent version. Does anyone know where to > download it? It seems that it's been move

Re: [Interest] Running as nobody, generating images

2012-02-09 Thread Andreas Pakulat
On 09.02.12 14:26:34, Harri Pasanen wrote: > On 02/09/2012 11:10 AM, Andreas Pakulat wrote: > > On 09.02.12 10:14:59, Harri Pasanen wrote: > >> Picking your collective brain here... > >> > >> I'm trying to do some batch style image processing

Re: [Interest] Running as nobody, generating images

2012-02-09 Thread Andreas Pakulat
On 09.02.12 10:14:59, Harri Pasanen wrote: > Picking your collective brain here... > > I'm trying to do some batch style image processing with a Qt app, using > QImage. > As QCoreApplication / console everything compiled, but silently failed > at runtime. > > As QApplication with a MainWindow t

Re: [Interest] QFileSystemWatcher malfunctioning

2012-02-02 Thread Andreas Pakulat
On 02.02.12 15:23:53, Scott Aron Bloom wrote: > QFileSystemWatcher DOES operate in a separate thread 100% certainly for > windows, 99% for linux.. > > Its been a while since I looked at the insides on linux. All engines run in a separate thread and some of the engines have multiple threads themse

Re: [Interest] QFileSystemWatcher malfunctioning

2012-02-02 Thread Andreas Pakulat
On 02.02.12 14:36:35, Bo Thorsen wrote: > Den 02-02-2012 14:29, Andreas Pakulat skrev: > > On 02.02.12 14:19:25, Sujan Dasmahapatra wrote: > >> But after updating I am still getting the message that the file is > >> updated. The signal is not blocked. Please tell me wha

Re: [Interest] QFileSystemWatcher malfunctioning

2012-02-02 Thread Andreas Pakulat
On 02.02.12 14:19:25, Sujan Dasmahapatra wrote: > But after updating I am still getting the message that the file is > updated. The signal is not blocked. Please tell me whats going wrong in > this. Thanks in advance for your help. Most probably the watcher notices the change asynchronously, i.e.

Re: [Interest] Qt 4.8.0 Main form always opening in the same location ?

2012-01-22 Thread Andreas Pakulat
On 23.01.12 13:50:43, Tony Rietwyk wrote: > Hi Everybody, > > I've recently upgraded my application from Qt 4.6.0 running on Windows XP to > 4.8.0 running on Windows 7. Now my main form is always opening at the same > location on screen, whereas in XP, it would use a different position each > ti

Re: [Interest] Problem creating a dll that loads static Qt libraries (in mingw) -> final chapter

2012-01-20 Thread Andreas Pakulat
On 20.01.12 10:14:09, erick oliveira da silva wrote: > Hi Till, > > Thanks for your reply. I learned a lot with it. > > I compiled qt library by myself. I download the sources and compiled with > gcc-mingw, the same compiler I am trying to build my simple qt shared > library now. > > The functio

Re: [Interest] Problem creating a dll that loads static Qt libraries (in mingw) -> final chapter

2012-01-20 Thread Andreas Pakulat
On 20.01.12 07:23:43, Till Oliver Knoll wrote: > > > Am 20.01.2012 um 07:14 schrieb erick oliveira da silva > : > > > Hi Till, > > > > ... > > CONFIG += qt dll release > > Oops, not sure, but I think that's the bugger: can't remember right now the > exact meaning of 'dll', but I think this

Re: [Interest] Problem creating a dll that loads static Qt libraries (in mingw) -> final chapter

2012-01-19 Thread Andreas Pakulat
On 19.01.12 17:18:05, erick oliveira da silva wrote: > > Depending on your code it *might* be necessary (and hence correct > > behaviour) to export the /entire/ class! > > In my case, I unfortunatelly really need to export functions, not classes. > And the same program works in Linux with gcc. So

Re: [Interest] why debug_and_release can't be removed from CONFIG

2012-01-19 Thread Andreas Pakulat
On 19.01.12 11:06:45, Andreas Pakulat wrote: > On 19.01.12 10:37:09, Konrad Rosenbaum wrote: > > On Thursday 19 January 2012 08:15:21 Vincent Cai wrote: > > > When I try remove debug_and_release from CONFIG, > > > CONFIG -= debug_and_release > > > > I don

Re: [Interest] why debug_and_release can't be removed from CONFIG

2012-01-19 Thread Andreas Pakulat
On 19.01.12 10:37:09, Konrad Rosenbaum wrote: > On Thursday 19 January 2012 08:15:21 Vincent Cai wrote: > > When I try remove debug_and_release from CONFIG, > > CONFIG -= debug_and_release > > I don't think "debug_and_release" is a valid configuration beyond building Qt > itself. Actually it is,

Re: [Interest] OT: Bug-free code (Was: QtSVG deprecated)

2012-01-12 Thread Andreas Pakulat
On 12.01.12 08:50:47, Atlant Schmidt wrote: > > > My over 20 years experience shows that there is no bug free software, > > > there are bugs that either have not being found yet or just ignored. > > > > Well, one example of a bug-free application would be > > > > int main() > > { > > return 0; >

Re: [Interest] QFileSystemWatcher malfunctioning

2012-01-12 Thread Andreas Pakulat
On 12.01.12 09:14:33, Bo Thorsen wrote: > Den 12-01-2012 08:35, Andreas Pakulat skrev: > > On 12.01.12 08:01:17, Sujan Dasmahapatra wrote: > >> Dear Friends > >> > >> I am using QFileSystemWatcher for knowing when the file is modified from > >> outside

Re: [Interest] QFileSystemWatcher malfunctioning

2012-01-11 Thread Andreas Pakulat
On 12.01.12 08:01:17, Sujan Dasmahapatra wrote: > Dear Friends > > I am using QFileSystemWatcher for knowing when the file is modified from > outside my application. I am seeing even if the file is modified from > the application this is giving message that the file is modified. Can > anyone tell

Re: [Interest] QtSVG deprecated

2012-01-11 Thread Andreas Pakulat
On 11.01.12 15:34:34, Alex Malyushytskyy wrote: > > No you don't. You have something which tries to implement Svg Tiny, but > > apparently is not complete or bug-free. > > I believe you are wrong. > Check discussion above and there was a statement that it is considered > "Complete" Thats not how

Re: [Interest] QtSVG deprecated

2012-01-11 Thread Andreas Pakulat
On 11.01.12 08:11:19, Martin Holmes wrote: > These are all good reasons why a fast, light implementation of SvgTiny > is a really good idea. And we have one, No you don't. You have something which tries to implement Svg Tiny, but apparently is not complete or bug-free. > and it works well for th

Re: [Interest] QtSVG deprecated

2012-01-10 Thread Andreas Pakulat
On 10.01.12 05:13:57, Martin Holmes wrote: > This all seems very disappointing to me. How would you actually use > webkit to provide SVG support to QImage? > > When I moved to Qt (from Delphi), I was delighted to discover that > QImage supported SVG, because I'd been used to having to provide ic

Re: [Interest] Designer plugins?

2011-11-30 Thread Andreas Pakulat
On 30.11.11 14:09:54, Jason H wrote: > I have several classes I am wanting to put into Qt Designer. However whenever > I use Q_EXPORT_PLUGIN2() I get several errors after the first time I use it. > In function 'qt_plugin_query_verification_data': > multiple definition of 'qt_plugin_query_verificat

  1   2   >