Questions from potential buyer

Coding + IDE + Code-Editor + Syntax + User-Functions + Anything else

Questions from potential buyer

Postby kg9316 » Mon Dec 30, 2013 11:16 pm

Happy New Year to everyone from the newest member !

I have used a few days to look at Basic4QT or Q7Basic (I don’t know what name to use)..
I think it’s a good idea. I have been looking at QT some time now. But all my programing skills are VB6.

I need to make server applications on embedded Linux devices and clients on windows machines, woud have been neet to use the same tool for this.

Potential issues I need answer for before purchasing.
1. Long time since last update.. Low activity in the board. Is this a dead product ?..
2. Is it possible to use Open GL like QT’s Open GL example «Grabber»
3. Possible to make TCP socket not only UDP ? Need TCP to communicate with existing applications.
4. How to list available serial ports in the Serial Port example program (same on linux ?)
5. Console application without windows ? possible
6. Parse XML files. Handle XML files as a database ? add remove items form it ?
7. Is it possible to view the C++ files Q7Basic makes for QT ? And maybe learn some C++ like that ?

Best regards from Norway
kg9316
 
Posts: 5
Joined: Sat Dec 28, 2013 12:40 am
Location: Norway

Re: Questions from potential buyer

Postby Slowdown » Tue Dec 31, 2013 8:30 am

Hi kg9316,
Welcome and also a happy New Year.
I have used a few days to look at Basic4QT or Q7Basic (I don’t know what name to use)..

It started as Q7Basic and Bernd renamed it to Basic4Qt and on the forum we normally use Q7B 8-)
I will try answer a few of your questions.
1) I don't hope Q7B is a dead product.
It's a one man job and the author (Bernd) is working on some other projects simply to make a living,
and he is back to 'school'
2) sorry don't know.
3) and nr.4,
4) I think that an other user, Henning can answer those two.
5) no, Q7B can't make CLI applications.
6) no, you have to do that yourself.
7) Yes you can see the files created by Q7B in '/your project/GCC' directory.

I know that Bernd has to rewrite Q7B for a great part because Digia has changed Qt in such a way that some library's are no longer pressent and
replaced by new one's.
Kind regards,
Slowdown

OSX 10.8.x, VBox Xp, Ubuntu 32/64 bit, EOS 64 bit
Slowdown
 
Posts: 464
Joined: Sat May 01, 2010 7:11 pm
Location: Netherlands

Re: Questions from potential buyer

Postby kg9316 » Wed Jan 01, 2014 12:55 am

Thanks for the answer.

Could you please post some code that populate a treeview from a XML file (Question 6) ?
(With Icons if possible :-) )

Best Regards
kg9316
 
Posts: 5
Joined: Sat Dec 28, 2013 12:40 am
Location: Norway

Re: Questions from potential buyer

Postby kg9316 » Wed Jan 01, 2014 1:01 am

I've spent more on Q7basic now, and I am more and more impressed with the product!
I have some problems with UDPSocket sending port but I hope Bendt or Henning can help with that.

Think this is money well spent.
Keep up the good work
kg9316
 
Posts: 5
Joined: Sat Dec 28, 2013 12:40 am
Location: Norway

Re: Questions from potential buyer

Postby Henning » Wed Jan 01, 2014 2:44 pm

Hi kg9316,

Welcome aboard!

First of all, you are aware you need to declare separate incomming and outgoing UDPSocket's?

In short, copied parts of working project.
In Module Global:
Public Dim TxMsg As String
Public Dim lanbuf As String
Public Dim RemoteIp As String
Public Dim LocalHost As String
Public Dim THPort As Integer
Public Dim MyPort As Integer

Public Dim Udp1 As UdpSocket
Public Dim Udp2 As UdpSocket

In some UdpInit module:
Udp1.Host = RemoteIp ' "192.168.0.1"
Udp1.Port = THPort ' 8100
Udp2.Bind(LocalHost, MyPort) ' ("192.168.0.3", 8101)
Udp1.Open()

Sending:
TxMsg = "data to send as string"
Udp1.WriteData(TxMsg)

Receiving:
In Module Global:
Signal on_Udp2_Event()
Dim s As String
Dim txt As String
Dim i As Integer

s = Udp2.ReadData()
lanBuf = s
If bConfig <> True Then
If Len(lanBuf) = 18 Then
MainWindow.ShowRecv(lanBuf)
End If
End If

End Signal

Signal on_Udp1_Error()
MsgBox("Udp1Error", Udp1.LastErrorText)
End Signal

Signal on_Udp2_Error()
MsgBox("Udp2Error", Udp2.LastErrorText)
End Signal

Hope this helps...

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm


Return to Questions & Answers

Who is online

Users browsing this forum: No registered users and 1 guest

cron