Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Integration of Qt applications into DACHSview++ by 2 shell commands !: (1 Item)
   
Integration of Qt applications into DACHSview++ by 2 shell commands !  
Hi,

that's the way it works:

// command number 1
#/home/opt/qwt-6.0/examples/oscilloscope/obj # gcc -shared -o libosz.so curvedata.o moc_knob.o moc_plot.o moc_wheelbox.o
 samplingtread.o wheelbox.o knob.o  mainwindow.o  moc_mainwindow.o  moc_samplingthread.o  plot.o signaldata.o

// command number 2
#/home/opt/qwt-6.0/examples/oscilloscope # clang++  -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/
include/QtGui -I/usr/include/QtSv -I/usr/include -I../../src -Imoc -O3 -emit-llvm main.cpp -c -o source.bc

// copy libosz.so and source.bc to the directory of dV ...

// start the DACHSview++ target ...
#/home/opt/qwt-6.0/examples/oscilloscope # dV &

A picture of the small DACHSview++ program and the result is in the attachment.

DACHSview++ is our new advanced Soft PLC and a general purpose development tool for real-time application 

Best Regards

Armin 

http://www.steinhoff-automation.com
as (at) steinhof-automation.com

 
Attachment: Image DACHSview++.jpg 285.72 KB