Re: [Interest] Building Qt5 on linux with libICU installed to a non-standard location

2012-12-19 Thread Thiago Macieira
On quarta-feira, 19 de dezembro de 2012 16.49.28, Cyrus Harrison wrote: > Hello, > I have several linux platforms that I would like to test Qt 5 on, > however none of them have ICU installed and without it I lose WebKit > support.Using a the package manager to obtain ICU is not an option on > these

[Interest] Building Qt5 on linux with libICU installed to a non-standard location

2012-12-19 Thread Cyrus Harrison
Hello, I have several linux platforms that I would like to test Qt 5 on, however none of them have ICU installed and without it I lose WebKit support.Using a the package manager to obtain ICU is not an option on these machines. I built and installed libICU using the standard --prefix= configur

Re: [Interest] Read a binary file

2012-12-19 Thread Mehmet İpek
I saw several issues in your Qt code. * In native c code you read unsigned long (4 byte in 32 bit platforms) and in Qt code you read quint64 (64 bit in all platforms). * You are reading with readLine which if it sees an end of line char, it stops reading. So, this is simply wrong. You have to use

Re: [Interest] Read a binary file

2012-12-19 Thread Yuriy Rusinov
Hello, Syam ! wrote: > On 12/19/2012 02:45 PM, Yuriy Rusinov wrote: >> for (int i=1; i<=na; i++) >> { >> char * colData = new char [nd2*sizeof (unsigned long)]; >> qint64 colLength = fData->readLine (colData, nd2*sizeof >> (unsigned long)); > > Why would you use readLi

Re: [Interest] Read a binary file

2012-12-19 Thread Syam Krishnan
On 12/19/2012 02:45 PM, Yuriy Rusinov wrote: > for (int i=1; i<=na; i++) > { > char * colData = new char [nd2*sizeof (unsigned long)]; > qint64 colLength = fData->readLine (colData, nd2*sizeof > (unsigned long)); Why would you use readLine() for a binary file? The conce

Re: [Interest] [HELP]How to open an Oracle database with "sysdba" role inQt?

2012-12-19 Thread Richard Moore
On 19 December 2012 13:26, Till Oliver Knoll wrote: > 2012/12/19 Xiaognag Wang : > Mapping that knowledge to Qt leads me to: > > http://doc.qt.digia.com/qt/qsqldatabase.html#setConnectOptions > > > That's what I get from a 2 minute Google session, mixed with a sound > level of assumptions and ed

Re: [Interest] QFileSystemWatch on /sys/bus/usb/devices (Linux)

2012-12-19 Thread Thiago Macieira
On quarta-feira, 19 de dezembro de 2012 10.12.17, lucas.betsch...@crypto.ch wrote: > Hello > > Inotify doesn't work on /sys/bus/usb/devices/ (at least not on my kernel > version) Can I use QFileSystemWatcher on that directory or is it just a > Qt-Wrapper for inotify? You can't use QFileSystemWat

Re: [Interest] Problem using mariadb client lib (LGPL) when compiling Qt5

2012-12-19 Thread Petric Frank
Hello Bo, Am Mittwoch, 19. Dezember 2012, 12:58:21 schrieb Bo Thorsen: > Hi Petric, > > Den 19-12-2012 07:55, Petric Frank skrev: > > i tried to compile Qt5 (platform: Windows) using mingw with mysql plugin > > enabled. > > > > But it fails telling that the preprocessor variable MAX_BIGINT_WIDTH

Re: [Interest] [HELP]How to open an Oracle database with "sysdba" role inQt?

2012-12-19 Thread Till Oliver Knoll
2012/12/19 Xiaognag Wang : > hi, > > “conn system/password as sysdba" is not a SQL statement, ... > ... > So, Is there any method for this? That's how it is done in Java using JDBC: Quote: " ... internal_logon: Use this property to connect as a sysoper or sysdba role. When using this property, t

Re: [Interest] Problem using mariadb client lib (LGPL) when compiling Qt5

2012-12-19 Thread Bo Thorsen
Hi Petric, Den 19-12-2012 07:55, Petric Frank skrev: > i tried to compile Qt5 (platform: Windows) using mingw with mysql plugin > enabled. > > But it fails telling that the preprocessor variable MAX_BIGINT_WIDTH is not > defined. > > The last lines of the compile output looks like this: > --

[Interest] Read a binary file

2012-12-19 Thread Yuriy Rusinov
I have to read binary file via Qt. In console application I make FILE * fid5 = fopen ("./test_data/source.rgg", "rb"); ... for (int i=1; i<=na; i++) { fread (st+i-1, sizeof (unsigned long), nd2, fid5); ... } and all work fine. In Qt application I try QStr

[Interest] QFileSystemWatch on /sys/bus/usb/devices (Linux)

2012-12-19 Thread Lucas.Betschart
Hello Inotify doesn't work on /sys/bus/usb/devices/ (at least not on my kernel version) Can I use QFileSystemWatcher on that directory or is it just a Qt-Wrapper for inotify? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.or

Re: [Interest] [HELP]How to open an Oracle database with "sysdba" role inQt?

2012-12-19 Thread Till Oliver Knoll
> Am 19.12.2012 um 07:38 schrieb Xiaognag Wang : > > Hello everyone, > > ... > In Oracle sqlplus, this can be done by following command: > " SQL>conn system/password as sysdba" First off, don't hijack mailing list threads! (Amongst other annoyances that caused the above weird font, because I h