Recent

Author Topic: Lazarus trunk not compiling with QT widgetset under Windows  (Read 6825 times)

Groffy

  • Full Member
  • ***
  • Posts: 205
Lazarus trunk not compiling with QT widgetset under Windows
« on: October 03, 2013, 10:55:39 am »
This issue exists since ref 19501. The conditional compiler switches

{$ifdef BINUX or MSWINDOWS or DARWIN} 

are not working. They need to be replaced with

{$if defined(BINUX) or defined(MSWINDOWS) or defined(DARWIN)} 

Patch file is attached
« Last Edit: October 03, 2013, 11:39:40 am by Groffy »
Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Lazarus trunk not compiling with QT widgetset under Windows
« Reply #1 on: October 03, 2013, 10:57:45 am »
Thanks for writing a patch, but please post them to the bugtracker (see links to the left) so the devs can see them and track them.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Groffy

  • Full Member
  • ***
  • Posts: 205
Re: Lazarus trunk not compiling with QT widgetset under Windows
« Reply #2 on: October 03, 2013, 11:28:34 am »
Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt

zeljko

  • Hero Member
  • *****
  • Posts: 1079
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus trunk not compiling with QT widgetset under Windows
« Reply #3 on: October 03, 2013, 03:49:47 pm »
It's fixed.

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: Lazarus trunk not compiling with QT widgetset under Windows
« Reply #4 on: December 19, 2015, 05:09:26 pm »
Looks like there is a regression. I cannot compile Lazarus 1.7 r50932 with FPC 3.0.0 i386-darwin-qt because of {$ifdef BINUX] in line 5266 at qt45.pas
Lazarus 1.7 (SVN) FPC 3.0.0

zeljko

  • Hero Member
  • *****
  • Posts: 1079
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus trunk not compiling with QT widgetset under Windows
« Reply #5 on: December 21, 2015, 10:20:13 am »
Please open an issue with detail info.

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: Lazarus trunk not compiling with QT widgetset under Windows
« Reply #6 on: December 22, 2015, 02:30:08 pm »
There is a closed bug on mantis but I cannot reopen (and don't find the right number). And actually I'm not sure if it's really a regression. Who would remove this code?
Lazarus 1.7 (SVN) FPC 3.0.0

zeljko

  • Hero Member
  • *****
  • Posts: 1079
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus trunk not compiling with QT widgetset under Windows
« Reply #7 on: December 22, 2015, 03:08:12 pm »
Nobody removed it. Just open an issue (you don't need to reopen it).

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Lazarus 1.7 (SVN) FPC 3.0.0