Re: [Interest] server certificate integration

2024-02-26 Thread Samuel Gaist via Interest
Hi, Why not pass the path to the certificate as a parameter of your application ? That way, you can configure it in the startup script of your server and just need to restart/reload it when the time comes to update the certificate. Another possibility is to use a configuration file in which you

Re: [Interest] running Qt main event loop in secondary thread

2023-03-28 Thread Samuel Gaist via Interest
On lundi, 27 mars 2023 22.23:02 h CEST Stefan Seefeld wrote: > Hello, > > I'm working on some Python tests that interact with a Qt application. I > would like to run the application's event loop in a secondary thread, so > the primary thread can perform the test itself. > > I read in the past tha

Re: [Interest] Official linuxdeployqt ?

2022-08-04 Thread Samuel Gaist via Interest
> On 4 Aug 2022, at 19:42, Scott Bloom wrote: > > Is there a Qt supported linuxdeployqt comparable to the windeployqt? > > I found the 3rd party version, but the command line args are very different. > > Also, is anyone on the Qt side, create a CMake function for this? > > Where inside CMake,

interest@qt-project.org

2020-10-19 Thread Samuel Gaist via Interest
> On 19 Oct 2020, at 10:32, coroberti wrote: > > Hi, > Documentation for Qt-5.12 refers to two "activated" signals: > https://doc.qt.io/qt-5.12/qcombobox.htm > void activated(int index) > void activated(const QString &text) > > Documentation for Qt-5.15 refers to only one of them > https://doc

Re: [Interest] Qt 6 Sourcecode

2020-09-18 Thread Samuel Gaist via Interest
Hi, It’s currently the dev branch and it is what you get by default when you clone the qt5 super module or any of the other modules. Best regards Samuel > On 18 Sep 2020, at 10:54, Nibedit Dey wrote: > > Dear friends, > > I want to look into the source code of the ongoing Qt 6 development.

Re: [Interest] How to get macdeployqt to ship QtSpeech plugin?

2019-02-12 Thread Samuel Gaist
On 12 Feb 2019, at 18:05, Vadim Peretokin wrote: > > Hi! > > How can I get Qt 5.12 macdeployqt to include QtSpeech plugin in the > distribution? My project makes use of it, QtSpeech plugin is available in the > Qt installation, but yet it is not getting added to the application. > > Thanks, >

Re: [Interest] Singleton application

2018-04-17 Thread Samuel Gaist
> On 17 Apr 2018, at 12:33, Hamish Moffatt wrote: > > Is there any support built-in for making an application a singleton (ie you > can't launch multiple instances), or does anyone have a recipe? > > I'd actually like a second launch to signal the first, passing on any > parameters, much like

Re: [Interest] Qt for Windows & openssl

2017-07-13 Thread Samuel Gaist
> On 13 Jul 2017, at 14:44, Alexander Ivash wrote: > > Is there are reasons for not including openssl libraries into Qt > binary packages? > ___ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Using Widgets for new projects

2017-05-17 Thread Samuel Gaist
> On 17 May 2017, at 18:45, Benjamin TERRIER wrote: > > 2017-05-17 18:14 GMT+02:00 Jérôme Godbout : >> I don't say all desktop application should be done into Qml, but just that >> it's doable into Qml no matter the application you have. > > No, it is not always doable. > > Let's say I want to

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

2017-03-27 Thread Samuel Gaist
> On 28 Mar 2017, at 00:48, Murphy, Sean wrote: > > I've got a class that inherits from QSerialPort. The bulk of the code in the > class is parsing that I'm doing in a slot that is connected to QSerialPort's > readyRead() signal. I want to inject known data into this class as if it's > actua

Re: [Interest] QML async/await support?

2017-02-02 Thread Samuel Gaist
> On 2 Feb 2017, at 18:02, Jason H wrote: > > When will QML get proper async/await support? I'm not using Promises, since > my callback hell is manageable, but I do look forward to async/await. > ___ > Interest mailing list > Interest@qt-project.org >

Re: [Interest] Qt 5.7+ and Command+Shift shortcuts on Mac

2017-01-08 Thread Samuel Gaist
> On 8 Jan 2017, at 19:09, René J.V. Bertin wrote: > > So... > > It seems we are indeed looking at a Qt regression. > > https://github.com/RJVB/shortcut-test-qt5 > > > That's an adapted version of Qt's menus example which adds a shortcut test > action with a configurable shortcut string and

Re: [Interest] Compiing Qt 5.7.1 for iOS, with iPhoneOS10.2.sdk

2016-12-22 Thread Samuel Gaist
> On 22 Dec 2016, at 16:05, Jason H wrote: > > ../qt-everywhere-enterprise-src-5.7.1/configure -v -xplatform macx-ios-clang > clang: warning: no such sysroot directory: > '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk' > > I don't have i

Re: [Interest] configuring qt from cmake fails

2016-12-15 Thread Samuel Gaist
> On 15 Dec 2016, at 20:15, Fabian Wein wrote: > >>> So patching qt such that the options „-headerpad_max_install_names >>> -stdlib=libc++“ are used for linking would be just fine for me. >> >> You have to pass -stdlib=libc++. > > I know this, but how? > Hi, add_compile_options(-stdlib=libc

Re: [Interest] macdeploy and lib dependencies

2016-10-09 Thread Samuel Gaist
> On 9 oct. 2016, at 12:27, Nuno Santos wrote: > > Hi, > > I’m linking my app with a lib that has other dependencies. While macdeployqt > is able to copy and rename the main lib file, it isn’t able to do it for it’s > dependencies. This is causing the bundle to have system dependencies. How c

Re: [Interest] [OS X] 10.12 SDK breaks qt5-qtconnectivity build (on 10.11)

2016-10-02 Thread Samuel Gaist
> On 2 oct. 2016, at 14:04, René J.V. Bertin wrote: > > On Sunday October 02 2016 12:14:05 Samuel Gaist wrote: > > Hi Samuel, > >> I did too but I haven’t had the time to do a thorough analysis of what has >> changed exactly from 10.11 to 10.12 however if inter

Re: [Interest] [OS X] 10.12 SDK breaks qt5-qtconnectivity build (on 10.11)

2016-10-02 Thread Samuel Gaist
Hi, I did too but I haven’t had the time to do a thorough analysis of what has changed exactly from 10.11 to 10.12 however if interested I have a small patch that adds the missing imports/includes where needed. It might need some cleanup though. Samuel > On 2 oct. 2016, at 11:36, René J.V. Be

Re: [Interest] QML Map Provider MapQuest has disabled direct access

2016-07-16 Thread Samuel Gaist
On 13 juil. 2016, at 11:22, Adrian Jäkel wrote: > Hi, > > since Monday, July 11, 2016, the direct tile access to MapQuest legacy maps > has been stopped. See [1]. > > Is it correct that there are now no out of the box usable map provider > plugins? > > MapQuest now offers a "free" plan for

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

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

Re: [Interest] jpeg 2000

2016-04-14 Thread Samuel Gaist
On 14 avr. 2016, at 21:15, maitai wrote: > Hello, > > Does anyone knows if qt jpeg2000 implementation is based on Jasper or > openJpeg or something specific to qt, and if it implies extra libs? I need to > decode weather gribs (stored as jpeg 2000 image in gray scale), I have > several worki

Re: [Interest] [OS X] Qt 5.6.0 minimal build configuration (error compiling qlatincodec.cpp)

2016-03-19 Thread Samuel Gaist
On 17 mars 2016, at 16:36, René J.V. Bertin wrote: > Hi, > > I'm running into an issue building Qt 5.6.0 on OS X 10.9.5 : > > gmake[3]: Entering directory > '/.../qt5-kde-devel/work/build/qtbase/src/tools/bootstrap' > /usr/bin/clang++ -c -O3 -march=native -g -ffunction-sections -O2 -g -fPIC

Re: [Interest] Qt Maintenance Tool mirror selection

2016-03-19 Thread Samuel Gaist
On 18 mars 2016, at 08:57, BOUCARD Olivier wrote: > Hi, > > Is it possible to manually select a mirror and to force the Maintenance Tool > to use it? > Because I'm in Cyprus which for dumb reason is considered in Asia??? So I'm > connected to some mirror in China from where I get 5Kbps downloa

Re: [Interest] qt.labs.controls Material Toasts

2016-02-15 Thread Samuel Gaist
ive controls doesn’t fit very well > into the picture of this project. If we wanted to go native, direct QML > bindings to native controls would be my preferred solution. It would be a > parallel offering, not mixed with Qt Quick. :) > > -- > J-P Nurmi > > > >> O

Re: [Interest] qt.labs.controls Material Toasts

2016-02-12 Thread Samuel Gaist
Hi, Out of curiosity, should that be driven by the OS notification system ? Samuel On 11 févr. 2016, at 16:45, Nurmi J-P wrote: > Hi, > > We would definitely like to extend our offering with some sort of tooltips > and notification banners in the future. We might prefer stick to the > termi

Re: [Interest] Video file generation from Qt application, other than FFmpeg

2016-01-21 Thread Samuel Gaist
On 21 janv. 2016, at 21:15, Phil Weinstein wrote: > We will not be able to use the FFmpeg library for video generation from our > Qt application. Are there any other tools/products usable with Qt which can > do basic generation of video files, given a sequence of QImages or QPixmaps? > We don

Re: [Interest] functioning link to 5.4.2 source tar?

2015-12-15 Thread Samuel Gaist
On 15 déc. 2015, at 14:31, Roland Hughes wrote: > All, > > Is there still a functioning link to a 5.4.2 source tar out there? Other than > cloning from Git I mean. If possible I would like to remain at 5.4.2 to fix > one little thing which requires me to build qt from source for MP4 support. I

Re: [Interest] Good way to track down "QCoreApplication::postEvent: Unexpected null receiver"

2015-12-06 Thread Samuel Gaist
Hi, That usually occurs when you are calling deleteLater on a null QObject. First thing I'd check are delete and deleteLater statements of QObject derived class. Cheers Samuel On 6 déc. 2015, at 19:44, Bob Hood wrote: > I'm getting this warning/error, but it's pretty nebulous in terms of wh

Re: [Interest] Subclassing QNetworkAccessManager not working

2015-11-03 Thread Samuel Gaist
On 3 nov. 2015, at 16:51, "Jason H" wrote: > I am experimenting with creating my own scheme. Per the documentation at > http://doc.qt.io/qt-5/qnetworkaccessmanager.html#supportedSchemes I am to > provide a protected slot, which will be hooked up by the MOC. However I am > only ever getting th

Re: [Interest] How to set iOS deployment target ?

2015-10-28 Thread Samuel Gaist
On 28 oct. 2015, at 12:26, Gian Maxera wrote: > Hello, > I have to set up the minimum deployment target to iOS 7.0 … how can I set up > this into .pro ? > > Ciao, > Gianluca. > > ___ > Interest mailing list > Interest@qt-project.org > http://lists.q

Re: [Interest] QMYSQL driver not loaded!

2015-10-27 Thread Samuel Gaist via Interest
On 27 oct. 2015, at 09:28, HPC-TECH via Interest wrote: > Hi, > > I'm unable to run any application uses MySQL plugin (whether from Qt Creator > or outside it) because of the following error message: >> QSqlDatabase: QMYSQL driver not loaded >> QSqlDatabase: available drivers: QSQLITE QMYSQL

Re: [Interest] Qt 5.5.x

2015-09-12 Thread Samuel Gaist
> On 12 sept. 2015, at 10:19, Till Oliver Knoll > wrote: > > >> Am 11.09.2015 um 19:59 schrieb Matthew Woehlke : >> >>> On 2015-09-11 13:41, Till Oliver Knoll wrote: >>> You can further reduce the "dependency tree" of your sources by >>> making use of the private "d-pointer" pattern (there i

Re: [Interest] Windows deployment. Failed to start because of missing platform plugin...

2015-08-28 Thread Samuel Gaist
On 28 août 2015, at 15:20, Bo Thorsen wrote: > Den 28-08-2015 kl. 10:01 skrev Igor Mironchik: >> I'm trying to deploy Qt Windows application. And it failed to start with >> the next message... >> >> This application failed to start because it could not find or load the >> Qt platform plugin "wi

Re: [Interest] Qt 5.5.1 & MSVC 2015

2015-08-27 Thread Samuel Gaist
Hi, Do you have python in your PATH ? IIRC, missing it a configuration time triggers that one Hope it helps On 27 août 2015, at 20:03, mark diener wrote: > Oops, > > I forgot the latest build errors, this time in the java engine (Yarr parser?) > > Each day, one less build blocker. > > Gene

Re: [Interest] How to filter QFileSystemModel for use in QML

2015-08-17 Thread Samuel Gaist
On 17 août 2015, at 09:23, Rutledge Shawn wrote: > > On 13 Aug 2015, at 14:14, Julius Bullinger wrote: > >> Dear list, >> >> I'm having problems using QFileSystemModel in QML. > > Have you tried FolderListModel? > > Hi guys, There's a catch when using QFileSystemModel + DelegateModel.

Re: [Interest] moc code : incomplete type 'void' is not assignable

2015-07-23 Thread Samuel Gaist
On 23 juil. 2015, at 16:56, Jason H wrote: > I'm getting an error in moc-generated file, and I don't know why. > > error: incomplete type 'void' is not assignable >case 1: *reinterpret_cast< void*>(_v) = _t->camera(); break; >~ ^ > > The head

Re: [Interest] QML Inspector?

2015-06-26 Thread Samuel Gaist
Hi, There's no such limitation, you can build it in 64bit. Did you start your build from a amd64 or x86_amd64 cross-compiling console ? On 26 juin 2015, at 21:04, Jérôme Godbout wrote: > I'm trying to compile GammaRay, anybody manage to compile it in x64 under > Windows? > > I manage to com

Re: [Interest] Dynamically change dock icon under OS X

2015-04-15 Thread Samuel Gaist
On 15 avr. 2015, at 21:00, René J.V. Bertin wrote: > On Wednesday April 15 2015 11:40:37 Bob Hood wrote: > >> Thanks, Oliver. I'll see if I can track that down in the Creator code. >> You're likely right, it'll probably be Cocoa-specific. > > Seems my message that also referred to Qt Creato

Re: [Interest] What are the plans for moving https://gitorious.org/qt/qt3d.git

2015-03-18 Thread Samuel Gaist
Hi, I'd go for https://code.qt.io/git/qt/qt3d.git Cheers Samuel On 17 mars 2015, at 20:19, JR Cary wrote: > now that gitorius is going away. > > Thanks.John Cary > ___ > Interest mailing list > Interest@qt-project.org > http://lists.qt-projec

Re: [Interest] Qt Purchasing API - In app purchasing iOS not working on a release version deployed to the store.

2015-03-12 Thread Samuel Gaist
Hi guys, Might be related to the DNS problems Apple experienced http://arstechnica.com/apple/2015/03/apple-dns-error-responsible-for-ongoing-itunes-app-store-outages/ Samuel On 12 mars 2015, at 14:02, Harri Pasanen wrote: > FYI, I'm currently experiencing something similar with a non-Qt iOS a

Re: [Interest] sha256 checksums for Qt downloads

2015-02-19 Thread Samuel Gaist
On 19 févr. 2015, at 16:05, Bo Thorsen wrote: > On 02/19/2015 02:36 PM, Jérôme Pinguet wrote: >> Hello! >> >> Would it be possible to add sha256 (and/or sha512) checksums to the Qt >> 4.8.6 download page [1]? >> >> md5 checksums are easily forged in a few days with a couple of GPUs. In >> a po

Re: [Interest] GStreamer missing plugin error

2015-01-28 Thread Samuel Gaist
On 28 janv. 2015, at 13:48, René J.V. Bertin wrote: > On Wednesday January 28 2015 10:02:26 Thiago Macieira wrote: > >>> Does that mean that Qt evolves in x.1 steps nowadays?? >> >> We've always released minor versions. You may remember 4.7 happened before >> 4.8. >> >> If you meant somethin

Re: [Interest] [qt-iOS] API for Apps to Forbid Custom Keyboards

2014-12-04 Thread Samuel Gaist
On 4 déc. 2014, at 08:30, Till Oliver Knoll wrote: > >> Am 04.12.2014 um 07:40 schrieb Robert Iakobashvili : > ... >> >> To disable custom keyboard in your app completely override the >> application:shouldAllowExtensionPointIdentifier: >> >> (BOOL)application:(UIApplication *)application >> s

Re: [Interest] QSettings mystery

2014-12-03 Thread Samuel Gaist
On 3 déc. 2014, at 21:39, Till Oliver Knoll wrote: > >> Am 03.12.2014 um 17:15 schrieb Nuno Santos : >> >> Hum… interesting. I will try it. >> >> One more question. While i’m targeting this app to iOS and Android, the main >> development is made on the computer to accelerate development. >>

Re: [Interest] QSettings mystery

2014-12-03 Thread Samuel Gaist
Hi, If the system didn't change since last version, the preferences are cached by cfprefsd, so you have to call "defaults delete [your bundle identifier]" on the command line. If that doesn't work, you'll have to kill cfprefsd. Beware to only kill the one for your user. Hope it helps Samuel

Re: [Interest] QStandardPaths on iOS

2014-11-20 Thread Samuel Gaist
Hi, It's supported. The documentation is currently getting fixed On 20 nov. 2014, at 11:16, Harri Pasanen wrote: > http://qt-project.org/doc/qt-5/qstandardpaths.html > > Does not seem to have anything for iOS. > > Is it not yet supported for iOS, or is the documentation lagging behind? > >

Re: [Interest] Ubuntu 13.10 Qt5.4 alpha build error

2014-09-30 Thread Samuel Gaist
Hi On 30 sept. 2014, at 10:52, Ramakanthreddy Kesireddy wrote: > Hi, > > Am getting below build error while trying to compile Qt5.4 alpha on Ubuntu > 13.10 desktop. > > using python: /usr/bin/python version: 2.7.5+ (default, Feb 27 2014, > 19:39:55) > [GCC 4.8.1] > Using extra options fo

Re: [Interest] How to read Qmake .pro file built-in variables

2014-09-25 Thread Samuel Gaist
On 25 sept. 2014, at 15:04, rap wrote: > Is there a way to read the contents of the qmake project file (.pro) built-in > variables, specially the "TARGET" variable? I'm doing > a bunch of small examples and getting the TARGET (.exe) name to my QWindow > class would help to pass the name to s

Re: [Interest] Nomination for Qt Champion

2014-09-17 Thread Samuel Gaist
On 17 sept. 2014, at 21:57, Emmanuel Mayssat wrote: > http://qt-project.org/wiki/QtChampions > I found the page above. > > Is there a way to still nominate a Qt Champion for 2014? > Yes, if you have an account, just edit the page. If not, you can ask someone who has to do it for you

Re: [Interest] Anywhere to report documentation typos?

2014-08-27 Thread Samuel Gaist
Hi, The bug report system is the correct place (http://bugreports.qt-project.org) However, there's a patch pending fixing this typo Have a nice day Samuel On 27 août 2014, at 16:22, Ben wrote: > Dear all, > > There's a typo on page http://qt-project.org/doc/qt-5/properties.html. The > clos

Re: [Interest] How to stop dissassembler view?

2014-08-08 Thread Samuel Gaist
On 8 août 2014, at 14:14, rap wrote: > Debugging always brings the dissassembler view at Breakpoints. How can this > be stopped? > I just need to break on Breakpoints in my source code. > > Thanks > - Risto > Hi, Are you by any chance trying to debug a release build ? ___

Re: [Interest] Unified items in QListView icon mode

2013-11-19 Thread Samuel Gaist
, Philipp Kursawe wrote: > sure: > > http://pastebin.com/5ncqUJrs > > > On Mon, Nov 18, 2013 at 9:39 PM, Samuel Gaist > wrote: > Do you have a minimum sample that reproduce the problem ? > > On 18 nov. 2013, at 21:31, Philipp Kursawe wrote: > > > Its

Re: [Interest] Unified items in QListView icon mode

2013-11-18 Thread Samuel Gaist
attached to the item (becuase the models decoration returns > none) then the items text appears top aligned and not where the other items > text appears (at the bottom of the icon). > > > On Mon, Nov 18, 2013 at 9:29 PM, Samuel Gaist > wrote: > > On 18 nov. 2013,

Re: [Interest] Unified items in QListView icon mode

2013-11-18 Thread Samuel Gaist
On 18 nov. 2013, at 18:02, Philipp Kursawe wrote: > I wonder whats broken with the QListView. > I want it to display 64x64 icons and a label (which can be quite long). > What properties do I have to set so the listview renders the items (even the > ones without a Qt::Decoration role) correctly

Re: [Interest] QStringList, takeFirst and order of execution

2013-11-11 Thread Samuel Gaist
On 11 nov. 2013, at 13:50, Giuseppe D'Angelo wrote: > Il 11/11/2013 13:37, Samuel Gaist ha scritto: >> Hi, >> >> I have been experiencing a strange behavior with QStringList and the order >> of execution of takeFirst. >> >> The following code: >

Re: [Interest] QStringList, takeFirst and order of execution

2013-11-11 Thread Samuel Gaist
On 11 nov. 2013, at 13:42, Thiago Macieira wrote: > On segunda-feira, 11 de novembro de 2013 13:37:20, Samuel Gaist wrote: >> Hi, >> >> I have been experiencing a strange behavior with QStringList and the order >> of execution of takeFirst. > >

[Interest] QStringList, takeFirst and order of execution

2013-11-11 Thread Samuel Gaist
Hi, I have been experiencing a strange behavior with QStringList and the order of execution of takeFirst. The following code: QString line = file.readLine(); // line contains "46 71\n" QStringList lineData = line.split(); // lineData contains ("46", "71\n") qDebug() << lineData.takeFirst() <<

Re: [Interest] OSX newbie question on Qt5 src build

2013-10-16 Thread Samuel Gaist
On 16 oct. 2013, at 11:37, Till Oliver Knoll wrote: > Am 16.10.2013 um 09:35 schrieb Mandeep Sandhu : > >> Hi All, >> >> I have a old iMac running OSX 10.5.8 (Xcode 3.1). >> >> Is it possible to build Qt5 on it or is it tool old a version? > > Given that not even Snow Leopard 10.6 is suppor

Re: [Interest] QUdpSocket broken?

2013-09-21 Thread Samuel Gaist
On 12 sept. 2013, at 04:01, Thiago Macieira wrote: > All that worked in Qt 4 continues to work in Qt 5. GPS wasn't part of Qt 4 > (that was Mobility and most of it only supported the Nokia platforms); 3D > wasn't part of Qt 4 either (Mobility again). Qt Quick 1 continues to work > exactly like

Re: [Interest] Qt Multimedia - Record from Applications Output

2013-07-01 Thread Samuel Gaist
Hi, You might be interested by the Qt Media Encoding Library project. I don't have the link handy, sorry, but it should be the first result of a Google search. Hope it helps On 1 juil. 2013, at 10:17, Lopes Yoann wrote: > Hi, > > This is not something you can do with Qt Multimedia at the m

[Interest] Gerrit integration failure on unrelated test

2013-06-13 Thread Samuel Gaist
Hi, I would like to know what is the proper course of action when an integration fails because of something unrelated. I've tried to merge two patches for OS X ui related bug in qtbase and the CI tells me that tst_QsslSocket fails for win32 mingw47 on windows 7. It all seems related to time out

Re: [Interest] Corner Widget not visible

2013-05-16 Thread Samuel Gaist
Based on your last email regarding the possibility of using vertical headers with QTabWidget... Are you trying to add your QPushButton to a QTabWidget using East or West tab positions ? If that's the case, the documentation states that corner widgets are only working properly with North and Sout

Re: [Interest] QVariant cannot take custom type

2013-04-05 Thread Samuel Gaist
He explains how to handle QObject * so a pointer to QObject instance, not a QObject instance. On 5 avr. 2013, at 12:22, Aekold Helbrass wrote: > So, it is absolutely impossible to use QObject-derived class with QVariant? > I'm storing QList of pointers already, and I want to write that with >

Re: [Interest] QVariant cannot take custom type

2013-04-05 Thread Samuel Gaist
Hi, IIRC, you can't have Item or Holder in a QVariant because there QObject so the copy constructor is disabled for them. This thread might be of interest http://stackoverflow.com/questions/7872578/how-to-properly-use-qregistermetatype-on-a-class-derived-from-qobject Hope it helps On 5 avr. 2

Re: [Interest] Compiling Qt 4 on OS X 10.8 for 10.6 deployment

2013-03-20 Thread Samuel Gaist
Hi, Have a look at http://qt-project.org/forums/viewthread/25806/ Hope it helps On 20 mars 2013, at 14:01, Michael Jackson wrote: > What is the magic configure argument to be able to build Qt 4.8.4 on OS X > 10.8 but be able to deploy my application back to OS X 10.6.8? > > Thanks > --- > Mik

Re: [Interest] Image Format plugins not loading on windows

2013-03-07 Thread Samuel Gaist
Hi, Did you copy the plugins dll or do you have a "plugins/imageformats" folder your executable directory ? On 7 mars 2013, at 16:48, Michael Jackson wrote: > I have some code in Qt where I am loading a tiff image file. I have placed > all the folder "plugins/imageformats/*" from my Qt Build i

Re: [Interest] Best way to QObject-wrap simple objects

2013-02-19 Thread Samuel Gaist
Hello, IIRC you don't, You have to Q_DECLARE_METATYPE your POD, qRegisterMetaType it and maybe (depends on your use case) add the in/out stream operators (only if you need to load and store in a QVariant). Hope it helps On 19 févr. 2013, at 14:19, K. Frank wrote: > Hello List! > > Sometimes

Re: [Interest] Unable to call QKeyEvent::key()

2013-01-29 Thread Samuel Gaist
Hi, did you #include in your cpp file ? Hope it helps Samuel On 29 janv. 2013, at 09:22, wrote: > Hi, > Much as it gets boring seeing posts which start with *noob alert* warnings I > am kind of in the same position right now. However, I have used Qt > extensively via PySide though am just

Re: [Interest] QDataWidgetMapper issues

2013-01-08 Thread Samuel Gaist
Hi, For problem number one, isn't editingFinished what you want ? (It comes from the QAbstractSpinBox) Hope this helps Samuel On 8 janv. 2013, at 10:19, Danny Price wrote: > I'm having trouble using the venerable QDataWidgetMapper class in my project. > > I have a set of QDoubleSpinboxes mapp

Re: [Interest] MacOS 10.4 + QT 4.7.4 + my app linking error

2012-11-28 Thread Samuel Gaist
>From the top of my head I would say Carbon Hope it helps Samuel On 28 nov. 2012, at 11:09, Sergey wrote: > After linking with zlib and CoreFoundation framework, these functions > are still not found: > > _FrontWindow > _GetCurrentProcess > _SelectWindow > _SetFrontProcess > _ShowWindow > > W

Re: [Interest] [OT] Is it possible to detect hard drive type (fixed/removable) on Windows using Qt?

2012-11-26 Thread Samuel Gaist
If you want to be cross-platform, you might be interested in KDE's Solid library (they are in the process of modularizing it). It's Qt based and does not need the whole KDE framework . Hope it helps, Samuel On 26 nov. 2012, at 13:53, Francisco Ares wrote: > Hello. > > Sorry for this off-topi

Re: [Interest] Qmake and changes in the library

2012-08-31 Thread Samuel Gaist
Hi, Have a look at: http://qt-project.org/doc/qt-4.8/qmake-variable-reference.html#pre-targetdeps Hope it helps Samuel On 31 août 2012, at 11:46, Igor Mironchik wrote: > Hi, > > Is it possible to say in QMake projects that when changes appears in the > library then all targets, depended on th

Re: [Interest] QSettings: is a group present? Crash with qWarning.

2012-08-23 Thread Samuel Gaist
Hi, Looks like your on mac, trying on mine I get this at compilation time: warning: cannot pass objects of non-POD type 'class QBool' through '...'; call will abort at runtime Here is the why of your crash Hope it helps Samuel On 23 août 2012, at 16:51, Sensei wrote: > Hi everyone. > > Here

Re: [Interest] Organizing multiple Qt and non-Qt "projects" that share code

2012-07-29 Thread Samuel Gaist
On 30 juil. 2012, at 00:02, K. Frank wrote: > Hello List! > > What are some good ways to organize source code -- directory hierarchies, > and such -- that will be used to build multiple Qt and non-Qt applications? > > So far when I've written Qt applications, I've had one Qt "project" per > app

Re: [Interest] QMainWindow: add a dock widget as a floater?

2012-07-20 Thread Samuel Gaist
On 20 juil. 2012, at 11:52, Rui Maciel wrote: > On 07/20/2012 10:31 AM, Samuel Gaist wrote: >> Hi, >> >> As silly as it might sound, why don't you just not add the >> QDockWidget ? By default at construction time, the QDockWidget is a >> floater. If yo

Re: [Interest] QMainWindow: add a dock widget as a floater?

2012-07-20 Thread Samuel Gaist
Hi, As silly as it might sound, why don't you just not add the QDockWidget ? By default at construction time, the QDockWidget is a floater. If you want it to be a QMainWindow children, just make the QMainWindow it's parent. Another thing that might be done is using setFloating() from QDockWidget

Re: [Interest] [interest]

2012-06-19 Thread Samuel Gaist
Hi, Take a look at: http://qt-project.org/doc/qt-4.8/printing.html And the classes mentioned in the documentation Hope it helps Samuel On 19 juin 2012, at 19:34, Carlos Yoesly Oviedo Becerra wrote: > how i can to export pdf in QT,please help me > > 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVE

Re: [Interest] Porting Qt app to windows

2012-06-03 Thread Samuel Gaist
Another idea, from which path did you copy the QtCore4.dll ? The one in the folder from QtCreator ? Or the one from the provided Qt library tree ? On 2 juin 2012, at 23:25, Chasc wrote: > On Sat, 2012-06-02 at 14:37 +0200, Samuel Gaist wrote: >> Hi, >> Is your application only

Re: [Interest] Porting Qt app to windows

2012-06-02 Thread Samuel Gaist
Hi, Is your application only an exe ? Or do you build a library for it ? In case you have a library and build it dynamically (dll) have a look at this documentation page: http://qt-project.org/doc/qt-4.8/sharedlibrary.html Hope it helps Samuel On 2 juin 2012, at 12:02, Chasc wrote: > On Fri, 2

Re: [Interest] Layout problem

2012-05-08 Thread Samuel Gaist
Hi, I think you should take a look at the stretch factor (mentioned in the QBoxLayout doc) as well as the sizePolicy, and the various size properties for your widget (minimumSize, sizeHint, etc...) Hope this helps Samuel On 8 mai 2012, at 11:25, Christian Gagneraud wrote: > Hi list, > > I'm

Re: [Interest] QTextEdit not resizing with QFormLayout

2012-05-08 Thread Samuel Gaist
And also the doc about QMainWindow: http://qt-project.org/doc/qt-4.8/qmainwindow.html#details On 8 mai 2012, at 10:22, Diego Iastrubni wrote: > Use layouts, not absolute positioning. Read the docs about it. > > > On Tue, May 8, 2012 at 11:13 AM, Sujan Dasmahapatra > wrote: > Please check thi

Re: [Interest] How to use unit testing with Qt framework properly

2012-04-11 Thread Samuel Gaist
y tests projects if I don't > want to create a library for my main project ? > > Is there any documentation that explains that kind of thing (static link, > dynamic link, create library, ... and how to use that with unit test > compilation) ? > > I don't know

Re: [Interest] How to use unit testing with Qt framework properly

2012-04-10 Thread Samuel Gaist
gt; you don't have to wait all the tests for the entire project to finish. > > I think I need a big tutorial. :) > > Thanks again. > > GH > > On 10 April 2012 10:43, Samuel Gaist wrote: > > On 10 avr. 2012, at 10:29, Gilles Habran wrote: > > > Hi guys,

Re: [Interest] How to use unit testing with Qt framework properly

2012-04-10 Thread Samuel Gaist
On 10 avr. 2012, at 10:29, Gilles Habran wrote: > Hi guys, > > I have a personal project and I would like to try to use Test Driven > Development. For the moment, my only knowledge in Unit Tests come from > several books, I never really use that concept in a project. > > Here is the arch of m

Re: [Interest] post event between threads

2012-04-03 Thread Samuel Gaist
If you show us the code you use to setup the connections, we might be able to offer better help. Samuel On 3 avr. 2012, at 11:09, Riccardo Roasio wrote: > I'm trying using signal/slots with Qt::QueuedConnection. > Now the problem is this one..i have > > - gui thread (main) > > - serial rx thr

Re: [Interest] post event between threads

2012-04-02 Thread Samuel Gaist
Hi, If you just want to signal that something has arrived, why not simply use signals and slots ? They work across threads. Hope this helps Samuel On 2 avr. 2012, at 18:05, Riccardo Roasio wrote: > Hi, > > how can i post an event from a thread to another? > > my application have a thread tha

Re: [Interest] Get QIcon from NSImage

2012-03-21 Thread Samuel Gaist
Hi, Convert the NSImage to a QPixmap and then make the QIcon from the pixmap Hope it helps Samuel On 21 mars 2012, at 18:11, Jason Dictos wrote: > Is there a way to get a QIcon from an NSImage? > > -Jason > > 'Like' us on Facebook for exclusive content and other resources on all > Barracuda

Re: [Interest] QSerialport EV_RXCHAR not emitted or catched while moving window

2012-03-15 Thread Samuel Gaist
Again: use the readyRead signal ? http://qt-project.org/doc/qt-4.8/qiodevice.html#readyRead On 15 mars 2012, at 14:27, Riccardo Roasio wrote: > Sorry..so what you think i have do do? > > > > Il 15 marzo 2012 14:26, Samuel Gaist ha scritto: >> I must say, I don

Re: [Interest] QSerialport EV_RXCHAR not emitted or catched while moving window

2012-03-15 Thread Samuel Gaist
t; ret = QWinEventNotifier::event(e); >} > >::WaitCommEvent(m_descriptor, &m_currentMask, &m_ov); >return ret; > } > > the problem is that while receiving events like the > QEvent::NonClientAreaMouseButtonPres on the gui thread it stop > receivng EV_RXCHAR event on the

Re: [Interest] QSerialport EV_RXCHAR not emitted or catched while moving window

2012-03-15 Thread Samuel Gaist
On 15 mars 2012, at 12:37, Riccardo Roasio wrote: > Hi, > > i have a program with : > > - a main thread > - a serial manager thread using Qserialport > > i noticed that if i move the main gui the EV_RXCHAR event is not fired > or cached... > > what's wrong? > > thanks, > Riccardo > _

Re: [Interest] QExtSerialPort

2012-02-27 Thread Samuel Gaist
Hello, Simply download the source : hg clone https://code.google.com/p/qextserialport/ Hope this helps, Samuel On 27 févr. 2012, at 17:45, 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 wr

Re: [Interest] console and gui

2012-02-14 Thread Samuel Gaist
On 14 févr. 2012, at 12:29, Graham Labdon wrote: > Hi > I have the following requirement – > If my Qt Gui app is running in debug mode a console should be displayed and > this should be able to display log messages > If in release mode the log messages are to be sent to a file. > > I have look

Re: [Interest] Problems with Drag and Drop in Windows 7

2012-01-25 Thread Samuel Gaist
ction() On 25 janv. 2012, at 16:56, noru...@me.com wrote: > But the main problem is that the breakpoint in the functions aren't reached. > > Make a breakpoint on a line (int n = 0;) in the code and run in debug mode > > Am 25.01.2012 um 16:48 schrieb Samuel Gaist : > &g

Re: [Interest] Problems with Drag and Drop in Windows 7

2012-01-25 Thread Samuel Gaist
On 25 janv. 2012, at 15:44, NoRulez wrote: > Hello again, > > I've attached a small and simple example, which doesn't work. > > Maybe someone could help > > Thanks in advance > Best Regards > > ___ > Interest mailing list > Interest@qt-project.org >

Re: [Interest] Custom text objects

2012-01-05 Thread Samuel Gaist
On 5 janv. 2012, at 12:56, Graham Labdon wrote: > Hi > I have implemented the insertion of custom objects into a QTextEdit by > following the ‘insert SVG image’ example. > > I now want to detect when such an object is deleted, does anybody know how I > can achieve this > > Thanks > > Gra

Re: [Interest] Logging best practice.

2011-12-09 Thread Samuel Gaist
On 9 déc. 2011, at 10:31, wrote: > Hi, > >> -Original Message- >> From: interest-bounces+kai.koehne=nokia@qt-project.org >> [mailto:interest-bounces+kai.koehne=nokia@qt-project.org] On Behalf >> Of ext alex.blas...@nokia.com >> Sent: Thursday, December 01, 2011 7:28 PM >> To: s