Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, March 2007
Qt4Solutions and Mingw


Message 1 in thread

Hello all,

I dont know where to write to for this problem.
Qt-Solutions for Qt4 do not compile with g++ from Mingw because of the Unicode 
parts of it. 

qtlockedfile_win does work with the following defined:

#ifndef Q_CC_MINGW
        QT_WA( {
            m_semaphore_hnd = CreateSemaphoreW(0, SEMAPHORE_MAX,
                                                    SEMAPHORE_MAX,
                                                    sem_name.utf16());
        } , {
#endif
            m_semaphore_hnd = CreateSemaphoreA(0, SEMAPHORE_MAX,
                                                    SEMAPHORE_MAX,
													sem_name.toLocal8Bit().constData());
#ifndef Q_CC_MINGW
        } );
#endif

but qtservice_win.cpp failes within
                result = QString::fromUtf16(config->lpBinaryPathName);
(line 175)

Currently I am using the qt4.2.2 with mingw.

Any chance to get it working?

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx