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

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

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

Re: [Interest] QComboBox Signal void activated(const QString )

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 ) > > Documentation for Qt-5.15 refers to only one of them >

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

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 >

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

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

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 >

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

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' >

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,

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

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 <rjvber...@gmail.com> 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

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.

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

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

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

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

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

2016-02-15 Thread Samuel Gaist
here. Bridging native 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 &g

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

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

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

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

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 >

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

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 b...@vikingsoft.eu 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

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 rpzrpz...@gmail.com wrote: Oops, I forgot the latest build errors, this time in the java engine (Yarr parser?) Each day, one less build

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 shawn.rutle...@theqtcompany.com wrote: On 13 Aug 2015, at 14:14, Julius Bullinger julius.bullin...@asctec.de wrote: Dear list, I'm having problems using QFileSystemModel in QML. Have you tried FolderListModel? Hi guys, There's a catch

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 jh...@gmx.com 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

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 jer...@bodycad.com wrote: I'm trying to compile GammaRay, anybody manage to compile it in x64 under Windows?

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 rjvber...@gmail.com 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

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 c...@colorado.edu wrote: now that gitorius is going away. Thanks.John Cary ___ Interest mailing list Interest@qt-project.org

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 ha...@mpaja.com wrote: FYI, I'm currently experiencing something similar with

Re: [Interest] sha256 checksums for Qt downloads

2015-02-19 Thread Samuel Gaist
On 19 févr. 2015, at 16:05, Bo Thorsen b...@vikingsoft.eu 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

Re: [Interest] GStreamer missing plugin error

2015-01-28 Thread Samuel Gaist
On 28 janv. 2015, at 13:48, René J.V. Bertin rjvber...@gmail.com 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

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 till.oliver.kn...@gmail.com wrote: Am 04.12.2014 um 07:40 schrieb Robert Iakobashvili corobe...@gmail.com: ... To disable custom keyboard in your app completely override the application:shouldAllowExtensionPointIdentifier:

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] QSettings mystery

2014-12-03 Thread Samuel Gaist
On 3 déc. 2014, at 21:39, Till Oliver Knoll till.oliver.kn...@gmail.com wrote: Am 03.12.2014 um 17:15 schrieb Nuno Santos nunosan...@imaginando.pt: 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

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 ha...@mpaja.com 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

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 ramakanthreddy.kesire...@techmahindra.com 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)

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 r...@dlc.fi 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

Re: [Interest] Nomination for Qt Champion

2014-09-17 Thread Samuel Gaist
On 17 sept. 2014, at 21:57, Emmanuel Mayssat emays...@epicsqt.org 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

Re: [Interest] Unified items in QListView icon mode

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

Re: [Interest] Unified items in QListView icon mode

2013-11-18 Thread Samuel Gaist
On 18 nov. 2013, at 18:02, Philipp Kursawe phil.kurs...@gmail.com 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

Re: [Interest] Unified items in QListView icon mode

2013-11-18 Thread Samuel Gaist
, if there is no icon 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 samuel.ga...@edeltech.ch wrote: On 18 nov. 2013

[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] QStringList, takeFirst and order of execution

2013-11-11 Thread Samuel Gaist
On 11 nov. 2013, at 13:42, Thiago Macieira thiago.macie...@intel.com 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. qDebug() lineData.takeFirst

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

2013-11-11 Thread Samuel Gaist
On 11 nov. 2013, at 13:50, Giuseppe D'Angelo giuseppe.dang...@kdab.com 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: QString line = file.readLine

Re: [Interest] QUdpSocket broken?

2013-09-21 Thread Samuel Gaist
/snip 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

[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

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] 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 --- Mike

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 into

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 I

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

2013-01-29 Thread Samuel Gaist
Hi, did you #include QKeyEvent in your cpp file ? Hope it helps Samuel On 29 janv. 2013, at 09:22, bb...@yahoo.com bb...@yahoo.com 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

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 mapped

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-topic.

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's

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

2012-07-30 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 application

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

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 you want it to be a QMainWindow children, just make

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

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 an exe ? Or do you

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,

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 s...@lmwindpower.com wrote:

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] How to use unit testing with Qt framework properly

2012-04-11 Thread Samuel Gaist
compilation) ? I don't know if what I say make sense or not so feel free to ask if it is unclear. :) Thanks again for your help. On 10 April 2012 11:48, Samuel Gaist samuel.ga...@edeltech.ch wrote: The best answer i can give you is: it depends. I like to have a test project per class so i

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

2012-04-10 Thread Samuel Gaist
need a big tutorial. :) Thanks again. GH On 10 April 2012 10:43, Samuel Gaist samuel.ga...@edeltech.ch wrote: 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

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 thread

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 that

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

2012-03-15 Thread Samuel Gaist
on the serial port class Il 15 marzo 2012 12:53, Samuel Gaist samuel.ga...@edeltech.ch ha scritto: 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

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 samuel.ga...@edeltech.ch ha scritto: I must say, I don't understand

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