mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 19:02:31 +02:00
Fixes the fix for qt compilation.
git-svn-id: trunk@10675 -
This commit is contained in:
parent
2528d9227a
commit
23272ca9b2
@ -166,7 +166,12 @@ begin
|
|||||||
if not QVariant_IsNull(v) and QVariant_isValid(V) then
|
if not QVariant_IsNull(v) and QVariant_isValid(V) then
|
||||||
begin
|
begin
|
||||||
//Write('Got a valid variant .. ');
|
//Write('Got a valid variant .. ');
|
||||||
QtWg := TQtWidget(PtrInt(QVariant_toUint(V, @Ok)));
|
{$IFDEF CPU32}
|
||||||
|
QtWg := TQtWidget(QVariant_toUint(V, @Ok));
|
||||||
|
{$ENDIF}
|
||||||
|
{$IFDEF CPU64}
|
||||||
|
QtWg := TQtWidget(QVariant_toULongLong(V, @Ok));
|
||||||
|
{$ENDIF}
|
||||||
if OK then
|
if OK then
|
||||||
begin
|
begin
|
||||||
//Write('Converted successfully, Control=');
|
//Write('Converted successfully, Control=');
|
||||||
|
Loading…
Reference in New Issue
Block a user