PureBasic 5.70 LTS is out !

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 16618
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post by Fred »

wombats wrote:
Fred wrote:A new version has been uploaded for Linux to fix the IDE issues, feel free to give it a try !
The IDE starts now.

I'm not able to get Qt to work. I installed the libs and set "qt" as the subsystem, but running the example provided by fr34k, I get the following: "QtScript.a(QtScript.o):(.qtversion[qt_version_tag]+0x0): undefined reference to `qt_version_tag'
collect2: error: ld returned 1 exit status".
Could you try a simple GUI program using with using 'qt' as subsystem ? (like Gadget.pb example)
User avatar
useful
Enthusiast
Enthusiast
Posts: 367
Joined: Fri Jul 19, 2013 7:36 am

Re: PureBasic 5.70 LTS beta 1 is out !

Post by useful »

It is this simple example (Gadget.pb) that by the way requires OpenGadgetList() in an unexpected place.
When trying to build with QT.

the main thing that is missing is new checkinstall.sh !!!

p.s. once again, please pay attention to the topic ( viewtopic.php?f=15&t=69442 )
Dawn will come inevitably.
Fred
Administrator
Administrator
Posts: 16618
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post by Fred »

I don't understand your post, please fill a bug report with an example if something seems wrong with qt subsystem
User avatar
useful
Enthusiast
Enthusiast
Posts: 367
Joined: Fri Jul 19, 2013 7:36 am

Re: PureBasic 5.70 LTS beta 1 is out !

Post by useful »

Fred wrote:I don't understand your post, please fill a bug report with an example if something seems wrong with qt subsystem
I, with great pleasure and will actively write reports errors after reading the instructions about configuring the subsystem for qt and received the message on success checkinstall.sh taking into account the setting for qt.

Otherwise, I may think it's my fault for not setting it right.
Dawn will come inevitably.
wombats
Enthusiast
Enthusiast
Posts: 663
Joined: Thu Dec 29, 2011 5:03 pm

Re: PureBasic 5.70 LTS beta 1 is out !

Post by wombats »

Fred wrote:
wombats wrote:
Fred wrote:A new version has been uploaded for Linux to fix the IDE issues, feel free to give it a try !
The IDE starts now.

I'm not able to get Qt to work. I installed the libs and set "qt" as the subsystem, but running the example provided by fr34k, I get the following: "QtScript.a(QtScript.o):(.qtversion[qt_version_tag]+0x0): undefined reference to `qt_version_tag'
collect2: error: ld returned 1 exit status".
Could you try a simple GUI program using with using 'qt' as subsystem ? (like Gadget.pb example)
I tried the ButtonGadget example from the documentation to the same result.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: PureBasic 5.70 LTS beta 1 is out !

Post by Trond »

Still doesn't start, with the error message mentioned in my previous post.
Fred
Administrator
Administrator
Posts: 16618
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post by Fred »

You will need a newer ubuntu IIRC
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: PureBasic 5.70 LTS beta 1 is out !

Post by StarBootics »

Hello Fred,

Under linux the "LTS" is missing in the version definition.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
the.weavster
Addict
Addict
Posts: 1537
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: PureBasic 5.70 LTS beta 1 is out !

Post by the.weavster »

freak wrote:Here is some more info regarding the Qt subsystem:
Thanks for the detailed walk through, freak.
freak wrote:[*]On the other OS we already have a quite good integration with the native API, so we want to focus on that and not spend work on an "alternative" GUI subsystem that most people will not have any use for.
Fair enough and I do understand the appeal of a small self-contained executable but please could we at least have cell level events / highlighting and column alignment in ListIconGadget()?
deeproot
Enthusiast
Enthusiast
Posts: 269
Joined: Thu Dec 17, 2009 12:00 pm
Location: Llangadog, Wales, UK
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post by deeproot »

Thanks Fred and Freak for this new beta :D

Really exciting stuff, but unfortunately I cannot test much right now due to other time commitments :(
the.weavster wrote:
freak wrote:Here is some more info regarding the Qt subsystem:
Thanks for the detailed walk through, freak.
This sounds great and maybe an important way forward for PB on Linux.

After a quick install on MX Linux 17 - Qt subsystem works with no problem for a simple program. Also fine with Freak's QtScript example. Switching a big project from Gtk2 to Qt will take more effort due to API calls, but will try soon.
Ventural
User
User
Posts: 26
Joined: Mon Jul 17, 2017 3:51 am
Location: Cocoa Beach, FL
Contact:

Re: PureBasic 5.70 LTS beta 1 is out !

Post by Ventural »

DPI ListIconGadget test with Enabled DPI Aware Executable turned on

Code: Select all

OpenWindow(0, 0, 0, 300, 100, "DPI ListIconGadget Test")

ListIconGadget(1, 2, 2, 296, 96, "Col A", 75)
AddGadgetColumn(1, 1, "Col B", 75)
AddGadgetColumn(1, 2, "Col C", 75)

AddGadgetItem(1, 1, "Item 1 Data" + #LF$ + "Item 2 Data" + #LF$ + "Item 3 Data")

Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
Result with 5.70 Beta 1:
Image

Would be helpful if the column widths automatically adjusted to the new size of ListIconGadget.
Cezary
User
User
Posts: 89
Joined: Sun Feb 12, 2017 2:31 pm

Re: PureBasic 5.70 LTS beta 1 is out !

Post by Cezary »

Linux Mint 18.3 Cinnamon - segmentation fault

BR

EDIT:

I was wrong. I omitted Fred's post on June 6.
Now IDE works.
BR
Last edited by Cezary on Wed Jun 27, 2018 8:24 pm, edited 1 time in total.
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PureBasic 5.70 LTS beta 1 is out !

Post by Little John »

Dear PB team, thanks for the new version 5.70 LTS beta 1! Especially DPI awareness is a good improvement.

On Windows 10, current version 1803, I stumbled across two glitches concerning the IDE (DPI 125%).
  • In PB 5.62, the IDE toolbar has a height of 35 pixels:
    Image

    In 5.70 LTS beta 1, the height is only 28 pixels:
    Image

    I don't know whether or not this change was made deliberately. Anyway, for my old eyes 28 pixels is very small. :-) I would appreciate it, if in PB 5.70 the toolbar were as high as before.
  • When code that is opened in the IDE has been modified by an external program, the IDE raises a warning (according to my preferences). The warning looks fine in PB 5.62:
    Image

    In PB 5.70 beta 1, when the name of the regarding file is long, then the message is not displayed completely:
    Image
#NULL
Addict
Addict
Posts: 1440
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Re: PureBasic 5.70 LTS beta 1 is out !

Post by #NULL »

Fred wrote:You will need a newer ubuntu IIRC
Is that in regard to Qt or PB in general? Ubuntu 16.04 x64 here.
I can't start 'purebasic' from a filemanager, it doesn't know how to open 'shared library'

Code: Select all

~/purebasic_5_70_b_1_x64/compilers>file ./purebasic 
./purebasic: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c1af8a3e3cd52668ce23ec1fd2913b9b212ea7e3, stripped
starting from the commandline works thought. But it can't compile. 'Compiler isn't loaded yet'. In Preferences > Compiler, i see the default compiler is an older one, even older than the PB version i used lately. My PB 5.62 has its own compiler set as default and no additional compilers set. But PB 5.70b1 has set a default compiler from some 5.60 directory which doesn't even exist with that exact name. There is no version info in titlebar or About, but the splashscreen and About says 06/06/2018. I added an additional compiler with the correct 5.70 one and enabled it in a source file's compiler option, but compiler still 'isn't loaded yet'. Restarting the IDE didn't help.

<edit>
And many Thanks for the continuing work! :)

<edit>
I can compile in 5.62 using the 5.70b1 compiler.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: PureBasic 5.70 LTS beta 1 is out !

Post by srod »

Ubuntu 16.04 LTS, PB 5.70x64.

Same problems as #Null in that I have to use the command line to run the IDE. Same problem as Wombats in that I get all sorts of linker errors when trying to use the qt subsystem.

Alright, what am I missing? :)
I may look like a mule, but I'm not a complete ass.
Post Reply