Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using QT with foxpro?
Message
From
10/10/2015 07:07:18
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01625802
Message ID:
01625803
Views:
118
>Hi: Does anyone have experience using the QT GUI (http://www.qt.io/) with foxpro? With python scripts, for instance, one taps into QT or pyQT like this:
>
>
>import sys, os, time
>from PyQt4 import QtGui, QtCore
>
>
>Is it possible to do something like this in foxpro? I am used to using createobject to get to another program such as excel or word, but I can't figure out if creatobject exists with QT, or if there are some steps to do and then be able to do a createobject with QT?

PyQt4 is probably a Wrapper/Marshaller from Python runtime with its variable mechanisms into the C runtime of QT.
If only specific functions are needed to be callable, declare dll is the vfp command to check. Or a wrapper in C might be written and compiled into a .fll

As QT is a sizable package, unless you can create some automatic conversion from another language and fine tune that result for the remaining edge cases it is probably too much effort to put into vfp - esp. as vfp runtimes are only licensed on windows.

my 0.02€
thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform