Re: [Interest] can qt.conf be put in a common location?

2013-01-29 Thread Lincoln Ramsay
On 29/01/13 18:29, Thiago Macieira wrote: I really don't get what you or Lincoln are talking about. I don't see why building twice is necessary. Just deploy the DLLs that you compiled your application with, alongside a qt.conf file. If you want to avoid a qt.conf file, create an

Re: [Interest] can qt.conf be put in a common location?

2013-01-28 Thread Lincoln Ramsay
On 29/01/13 15:43, VStevenP wrote: You gave me advice on this earlier, and I wasn't able to take your advice at that time, because I needed a functional Qt5 SDK for cross-compiling for arm. However, I think I've found an acceptable workaround now, and I won't need to use qt.conf anymore.

Re: [Interest] How to rebuild a Qt project which linked with a static library?

2013-01-22 Thread Lincoln Ramsay
On 23/01/13 13:29, Vincent Cai wrote: I have a Qt project which is linked with a static library. When I updated the static library, and try build the project, the project can't detect that the library is updated and need to rebuild. qmake does not write out dependencies

Re: [Interest] Implementing custom orientation sensor using QtSensors

2013-01-09 Thread Lincoln Ramsay
On 10/01/13 07:23, Jim Hodapp wrote: I'm attempting to create my own orientation sensor that sits on top of a particular accelerometer implementation. I'd like to use my orientation sensor from a QML application. Given what I just stated, I'm looking for the recommended approach to

Re: [Interest] QFile copy and sync/fsync

2013-01-03 Thread Lincoln Ramsay
On 3/01/13 11:47 PM, Duane wrote: I'm using QFile::copy(source,target). I've tried changing it to use the non static copy from QFile but I don't have a pointer to the target. So I create another instance of QFile for that one and call fsync on it after the copy but this doesn't work.

Re: [Interest] QFile copy and sync/fsync

2013-01-02 Thread Lincoln Ramsay
On 03/01/13 06:49, Duane wrote: I have a function to back up some files to a usb stick. Using a variant of the FAT filesystem no doubt? I've had complaints from users that the files are sometime not copied. It looks like they're removing the usb stick before the standard sync cycle. If I

Re: [Interest] Non-movable Qt build

2012-12-31 Thread Lincoln Ramsay
On 30/12/12 11:34 PM, Diego Iastrubni wrote: On Thu, Dec 27, 2012 at 3:06 PM, Thiago Macieira thiago.macie...@intel.com mailto:thiago.macie...@intel.com wrote: Also remember that the qmake code dealing with relative paths is broken. That's why you can only do out-of-source builds

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Lincoln Ramsay
On 20/12/12 22:02, andy fillebrown wrote: Why is the qmake step generating makefiles for all the example and test projects? Because it's special. So you can go into tests/ or examples/ and run make because there's a Makefile there already, even though these directories aren't built when you

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Lincoln Ramsay
On 20/12/12 22:53, andy fillebrown wrote: Whelp, all the examples and tests are being built. Bummer. I'm thinking now that it might be because I used the -r flag for the call to qmake. The -r means go into subdirectories and build their Makefiles too but it finds subdirectories using

Re: [Interest] Problem configuring Qt 5 on Windows

2012-12-20 Thread Lincoln Ramsay
On 20/12/12 22:18, andy fillebrown wrote: That makes sense but the .tar.gz is smaller so that's the one I downloaded. I assumed they'd be the same. .zip also has DOS line endings where .tar.gz has UNIX line endings. That shouldn't be a big deal these days but there are still tools that don't

Re: [Interest] qmake adding unwanted lib flag to makefile

2012-11-28 Thread Lincoln Ramsay
On 28/11/12 23:33, Alexander Görtz wrote: My question is if there is any possibility to tell qmake not to add the - L/usr/lib to the makefile or if this is not possible to add -L/usr/local/lib even before that. You could do LIBS += /usr/local/lib/libmylib.so instead of -lmylib to explicitly

Re: [Interest] can't configure for only -release on Qt5 Beta2 Mac

2012-11-27 Thread Lincoln Ramsay
On 28/11/12 03:16, VStevenP wrote: Is there any way to configure Qt5 Beta2 Mac to _only_ build for release? If I do configure with the -release setting, it still ends up doing debug_and_release.: qmake vars .. qmake switches . Build .. libs tools examples

Re: [Interest] can't configure for only -release on Qt5 Beta2 Mac

2012-11-27 Thread Lincoln Ramsay
On 28/11/12 11:29, VStevenP wrote: Thanks for your thoughts...it's much appreciated. I simply did: ./configure -prefix $PWD/qtbase -release -opensource from within a freshly-created qt-everywhere-opensource-src-5.0.0-beta2 directory. I created this directory using tar xvzf on the file

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

2012-11-27 Thread Lincoln Ramsay
On 28/11/12 14:55, Sergey wrote: List of non-found by linker functions became less after linking with zlib. But these functions are still not found: _CFDataGetBytePtr _CFDataGetLength _CFDataGetTypeID _CFGetTypeID ___CFConstantStringClassReference _FrontWindow _GetCurrentProcess

Re: [Interest] explore contents of built in qmake variables

2012-11-27 Thread Lincoln Ramsay
On 28/11/12 15:25, Sergey wrote: is there a way to find out total contents of QT_CONFIG, CONFIG qmake variables? Yes... Are they arrays? Yes... Can I somehow print their contents? Yes. I know how to test, if config contains something, for example: contains(QT_CONFIG, system-zlib) :

Re: [Interest] unable to cross-compile my Qt 5 program for BeagleBoard-xM

2012-11-21 Thread Lincoln Ramsay
On 21/11/12 18:05, Stephan Kanthak wrote: On 11/21/2012 04:53 AM, VStevenP wrote: For now, I set my configure prefix to point to a 'staging' directory. So the Qt 5 Beta 2 cross-compiled output went there. Then, I copied all the needed shared objects from that QT cross-compile output lib dir

Re: [Interest] Qt Service Framework in Qt 5 Beta Release 2

2012-11-14 Thread Lincoln Ramsay
On 15/11/12 12:13 AM, Miller, Doug wrote: It was painfully noted that Qt Service Framework has been moved out of the core release in Qt5 Beta Release 2 after being there since alpha. Was it updated and put back into the Mobility project? There is no Mobility project. That pre-dates Qt 5 and

Re: [Interest] Qt Service Framework in Qt 5 Beta Release 2

2012-11-14 Thread Lincoln Ramsay
On 15/11/12 02:19, Miller, Doug wrote: So if I'm using Qt 5 Beta Release 2 please tell me where to find Qt Service Framework now. Hmm. I guess in general there needs to be some work done on promoting and documenting things that are no longer shipped with Qt, since using them now probably

Re: [Interest] Why is this not working? Assign direct to QML (through setContextProperty) works, as function doesn't.

2012-11-08 Thread Lincoln Ramsay
On 09/11/12 12:56, Mark wrote: Ahh, i was really hoping for that to work! Sadly i was welcomed with this compiler error: pathmodel.o: In function `PathModel::PathModel(QObject*)': pathmodel.cpp:(.text+0x14): undefined reference to `vtable for PathModel' You need to run qmake to regenerate

Re: [Interest] [Help]A big problem about accessing database using OCI driver plugin from qt application.‏

2012-10-30 Thread Lincoln Ramsay
On 30/10/12 5:25 PM, Xiaognag Wang wrote: You mean this big difference (7 seconds and 30 millisecond ) was caused by cache? Oh yes. There's a big difference between having 1 chunk of data sent from the server to the client and having the client poll the server every time your app says

Re: [Interest] [Help]A big problem about accessing database using OCI driver plugin from qt application.‏

2012-10-29 Thread Lincoln Ramsay
On 29/10/12 11:22 AM, Xiaognag Wang wrote: 3. the problem is: it is too slow to get data from database, for example: get 2 records from database will spend 7 seconds, if I use odbc instead, it will just need about 30 ms. Does anyone have experience about this? Could you please give a

Re: [Interest] autosave on OSX

2012-10-25 Thread Lincoln Ramsay
On 25/10/12 18:21, Daniel Price wrote: That's a very old project that relies on Qt extensions that I couldn't find (QSingleApplication). FWIW: QtSingleApplication started life as a Qt Solution (the oldies will remember those). Originally for paying customers only, these got open-sourced some

Re: [Interest] autosave on OSX

2012-10-24 Thread Lincoln Ramsay
On 25/10/12 00:29, Daniel Price wrote: Is it possible to implement autosave in Qt/mac applications as was introduced in OSX Lion (and refined in Mountain Lion)? Has anyone done this? I think what you want to know is: Does Qt provide an API that you can use, which results in Lion's

Re: [Interest] Never ending thread: blocking GUI

2012-10-16 Thread Lincoln Ramsay
On 16/10/12 11:15 PM, Sensei wrote: Once in a while, when the GUI needs it, it will wake the thread up, and run a method of my QThread subclass, in my case, a find in files or rename all files, or any other method. I thought I could simply make run() be an infinite loop, sleeping for a long

Re: [Interest] Distributing custom qt build to a group of developers

2012-09-20 Thread Lincoln Ramsay
On 21/09/12 09:03, Adam Light wrote: This works pretty well except that it requires checking a lot of binary files into Subversion, and both committing the files and checking them out is very slow. ... Furthermore, as long as everyone runs svn update when I build a new version of Qt, we

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

2012-09-13 Thread Lincoln Ramsay
On 13/09/12 6:57 AM, Stephen Kelly wrote: Your build tools don't tell you that there is a problem. It compiles just fine (for you), even though the include should not be there. If you instead include QAction, your compiler will not find that header and you will immediately know you made a

Re: [Interest] Compile Qt Application with X11 libraries for Windows Platform

2012-06-25 Thread Lincoln Ramsay
the same as cygwin but with a different POSIX layer between you and win32. You should be fine to build Qt for Unix/X11 under either of these environments and then build your app against that. You'll be using the environment's toolchain (so, gcc or mingw-gcc rather than MSVC). -- Lincoln Ramsay

Re: [Interest] Where configure options have gone ?

2012-05-02 Thread Lincoln Ramsay
for a file that sets QT.webkit.name :) -- Lincoln Ramsay - Senior Software Engineer Qt Development Frameworks, Nokia - http://qt.nokia.com/ ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Contributor agreement rundown

2012-04-18 Thread Lincoln Ramsay
it is likely that many changes will be upstreamed even in the absence of the [L]GPL license. Plus we're getting money to fund Qt development. -- Lincoln Ramsay - Senior Software Engineer Qt Development Frameworks, Nokia - http://qt.nokia.com/ ___ Interest

Re: [Interest] Contributor agreement rundown

2012-04-18 Thread Lincoln Ramsay
software project and has never been one. Even if Nokia abandons Qt, it will not become a free software project because the Free Qt foundation will release the code under the BSD license. -- Lincoln Ramsay - Senior Software Engineer Qt Development Frameworks, Nokia - http://qt.nokia.com

Re: [Interest] post event between threads

2012-04-03 Thread Lincoln Ramsay
())); -- Lincoln Ramsay - Senior Software Engineer Qt Development Frameworks, Nokia - http://qt.nokia.com/ ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] [Qt-creator] mac: executable binary inside package

2012-03-28 Thread Lincoln Ramsay
ln -s /Applications . -- Lincoln Ramsay - Senior Software Engineer Qt Development Frameworks, Nokia - http://qt.nokia.com/ ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] [Qt-creator] mac: executable binary inside package

2012-03-28 Thread Lincoln Ramsay
On 03/29/2012 09:47 AM, ext Lincoln Ramsay wrote: On 03/29/2012 02:48 AM, ext David Kim wrote: 1. When the application was deployed with macdeployqt, the dmg file also contains .Trashes. Is there an option to exclude it? macdeployqt doesn't make a .dmg does it? It didn't the last time I

Re: [Interest] Receive screen rotate/resize events?

2012-03-13 Thread Lincoln Ramsay
but that will result in the window being shown briefly. -- Lincoln Ramsay - Senior Software Engineer Qt Development Frameworks, Nokia - http://qt.nokia.com/ ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo

Re: [Interest] Receive screen rotate/resize events?

2012-03-11 Thread Lincoln Ramsay
bindings being done for it) but even with earlier Qt's you should see the desktop widget get resized. http://qt-project.org/doc/qt-4.8/qdesktopwidget.html -- Lincoln Ramsay - Senior Software Engineer Qt Development Frameworks, Nokia - http://qt.nokia.com

Re: [Interest] qmake Conditions and Scopes

2012-03-11 Thread Lincoln Ramsay
-bit } else:equals(bits,64) { # 64-bit } else { # error } -- Lincoln Ramsay - Senior Software Engineer Qt Development Frameworks, Nokia - http://qt.nokia.com/ ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org

Re: [Interest] mouse events: how to handle left and right button pressed?

2012-03-04 Thread Lincoln Ramsay
statement. -- Lincoln Ramsay - Senior Software Engineer Qt Development Frameworks, Nokia - http://qt.nokia.com/ ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Problem creating a dll that uses Qt (mingw)

2012-01-16 Thread Lincoln Ramsay
Q_DECL_IMPORT # endif #endif #if !defined(Q_XXX_EXPORT) # if defined(QT_SHARED) #define Q_XXX_EXPORT Q_DECL_EXPORT # else #define Q_XXX_EXPORT # endif #endif Then you define QT_BUILD_XXX_LIB when building your library. -- Lincoln Ramsay - Senior Software Engineer Qt Development Frameworks