Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2011-05

New binding release?

7 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Matthias Klumpp

Hi!
I just wanted to ask if there will be a new (minor?) release of Qt4 bindings for Pascal. The last release was made over one year ago, and the mstackrealign-issue is really, really bad for Debian (we can only include it for i386 builds). Do we have a solution for this already? (means: append mstackrealign only on x86_64 and i386)
I would be glad if someone could give me an update! Cheers,
Matthias

Den Jean
to Matthias Klumpp
Matthias Klumpp wrote
I would be glad if someone could give me an update!

I was working on it, but stumbled on some
time consuming problems. Maybe others can help me
to expedite the release work.

Den Jean
to Den Jean
Den Jean wrote
Maybe others can help me to expedite the release work.

e.g. when compiling the latest release (2.1)
for Qt 4.7.2 on Windows with MinGW I get
errors like 'C:\Qt\4.7.2\binmoc.exe' not found.
Note the missing ?\?.

This did not happen with the Qt 4.5.X on windows.

I switched from XP to a fresh install of Windows 7, but same problem.

I am doing all upgrades of Windows 7 now, you never know :-)

Can someone who works on Windows also look into this, the last years I only use Linux.

regards,

Den Jean

Matthias Klumpp
to Den Jean: I was working on it, but stumbled on some time consuming problems. Maybe others can help…
Den Jean wrote 5 lines
On Tuesday 24 May 2011 16:14:23 Matthias Klumpp wrote: > I would be glad if someone could give me an update! I was working on it, but stumbled on some time consuming problems. Maybe others can help me to expedite the release work.

Does LibQt4Pas have a VCS repository (Git, SVN) somewhere? Btw, I got a patch for the project file, which now appends mstackrealign all ix86 architectures (at least I hope so).
A new version of Qt4Pas will be in the Debian archive soon to check this out.
Regards,
Matthias

Den Jean
to Matthias Klumpp
Matthias Klumpp wrote
Btw, I got a patch for the project file, which now appends mstackrealign all ix86 architectures (at least I hope so).

this is what I was going to do, have not yet tested yet, feel free to do so I do not have Win 64 bit.

X86 = $$find(QMAKE_HOST.arch, i*86)
! isEmpty( X86 ) {
message("Added -mstackrealign to CXXFLAGS in support of SSE on arch " $$QMAKE_HOST.arch)
QMAKE_CXXFLAGS += -mstackrealign
}

Matthias Klumpp
to Den Jean

Funny, I use exactly the same code :D

message("Host architecture:" $$QMAKE_HOST.arch)

X86 = $$find(QMAKE_HOST.arch, i*86)
!isEmpty(X86)|equals(QMAKE_HOST.arch, x86_64) {
message("Added stackrealign option to CXXFLAGS in support of SSE on arch" $$QMAKE_HOST.arch)
QMAKE_CXXFLAGS += -mstackrealign
}

This code is working perfectly well on my test environment, as well as on Launchpads buildds. In-the-wild testing on Debian buildservers will be done soon, when a new version of libqt4pas package is uploaded. Cheers,
Matthias

Den Jean wrote
On Thursday 26 May 2011 22:19:16 Matthias Klumpp wrote: > Btw, I got a patch for the project file, which now appends

mstackrealign

> all ix86 architectures (at least I hope so). this is what I was going to do, have not yet tested yet, feel free to do

so

Show quoted text 5 lines
I do not have Win 64 bit. X86 = $$find(QMAKE_HOST.arch, i*86) ! isEmpty( X86 ) { message("Added -mstackrealign to CXXFLAGS in support of SSE on

arch

Show quoted text 10 lines
" $$QMAKE_HOST.arch) QMAKE_CXXFLAGS += -mstackrealign } _______________________________________________ Qt mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/qt