Closed ralphBellofattoSTX closed 4 years ago
strategy for this will be to create an example visual studio project, replace the .cpp, .h and .ui files and see what happens...
What could possibly go wrong.
and i'm using a network mount for my work directory:
gut the new project:
[JamventGuiVGDB-01]ls -l *.cpp *.h *.ui
-rw-r--r-- 1 ralphbellofatto admin 187 Apr 21 15:28 JamventGuiVGDB-01.cpp
-rw-r--r-- 1 ralphbellofatto admin 431 Apr 21 15:28 MainWindow.cpp
-rw-r--r-- 1 ralphbellofatto admin 364 Apr 21 15:28 MainWindow.h
-rw-r--r-- 1 ralphbellofatto admin 1733 Apr 21 15:28 MainWindow.ui
[JamventGuiVGDB-01]rm *.cpp *.h *.ui
[JamventGuiVGDB-01]ls -l ../JamventGui01/*.cpp ../JamventGui01/*.h ../JamventGui01/*.ui
-rw-r--r-- 1 ralphbellofatto admin 232 Apr 21 15:17 ../JamventGui01/main.cpp
-rw-r--r-- 1 ralphbellofatto admin 1357 Apr 21 15:17 ../JamventGui01/mainwidget.cpp
-rw-r--r-- 1 ralphbellofatto admin 367 Apr 21 15:17 ../JamventGui01/mainwidget.h
-rw-r--r-- 1 ralphbellofatto admin 10667 Apr 21 07:15 ../JamventGui01/mainwidget.ui
[JamventGuiVGDB-01]cp ../JamventGui01/*.cpp ../JamventGui01/*.h ../JamventGui01/*.ui .
And change CMakeLists.txt
from:
add_executable(JamventGuiVGDB-01 JamventGuiVGDB-01.cpp MainWindow.cpp MainWindow.ui)
to
add_executable(JamventGuiVGDB-01 main.cpp mainwidget.cpp mainwidget.u)
Compile it and see if it works.
and it could not find something critical.
#include <QtCharts/QChartView>
#include <QtCharts/QLineSeries>
So thats curious...
and this is curious, when we build with VisualGDB qt we get these headers.
PS C:\Users\ralphbellofatto> ls C:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot/usr/include/arm-linux-gnueabihf/qt5
Directory: C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\usr\include\arm-linux-gnueabihf\qt5
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 4/14/2020 3:44 PM QtConcurrent
d----- 4/14/2020 3:44 PM QtCore
d----- 4/14/2020 3:44 PM QtDBus
d----- 4/14/2020 3:44 PM QtGui
d----- 4/14/2020 3:44 PM QtNetwork
d----- 4/14/2020 3:44 PM QtOpenGL
d----- 4/14/2020 3:44 PM QtOpenGLExtensions
d----- 4/14/2020 3:44 PM QtPlatformHeaders
d----- 4/14/2020 3:44 PM QtPrintSupport
d----- 4/14/2020 3:44 PM QtSql
d----- 4/14/2020 3:44 PM QtTest
d----- 4/14/2020 3:44 PM QtWidgets
d----- 4/14/2020 3:44 PM QtXml
I think we are on either a different version or something...
yep, the VisualGDB downloaded and linked against 5.11.3..
[5/5] cmd.exe /C "cd . && \
C:\SysGCC\raspberry\bin\arm-linux-gnueabihf-g++.exe --sysroot=C:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot \
-g -rdynamic \
CMakeFiles/qtStarterAppCross.dir/qtStarterAppCross_autogen/mocs_compilation.cpp.o \
CMakeFiles/qtStarterAppCross.dir/qtStarterAppCross.cpp.o \
CMakeFiles/qtStarterAppCross.dir/MainWindow.cpp.o -o qtStarterAppCross \
C:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libQt5Widgets.so.5.11.3 \
C:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5.11.3 \
C:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/libQt5Core.so.5.11.3 \
&& cd ."
to get 5.11.3 one has to use the qt maintainancetools program:
5.11.3 had to come from the Archive...
as far as mixing and matching QT and VisualGDB.... here is the reply i got from their tech support.
Hi,
We have recently received multiple inquires from you regarding various Qt-specific issues. Please note that our technical support only covers issues with VisualGDB itself (i.e. if you are able to build a project manually using command-line tools, but cannot get it to work with VisualGDB). If you are new to Qt and are not sure how to use it in a specific configuration, please consider reading Qt documentation, or contacting Qt support.
We can also help you configure everything via our consulting service (we charge $300/hour for screen sharing session where we can help configure external tools, build projects, and explain the differences between various configurations).
As the cost of providing such service greatly exceeds what we charge per VisualGDB license, unfortunately we are not able to include it with our technical support.
-- Best regards, Sysprogs Support View conversation thread online
We need to get on the same page as far as using tools here...
parking this task until we get a better way of exchanging information.
Take this: https://github.com/JamVent/wiki/issues/25
which is: https://github.com/JamVent/prototypes/tree/master/JoesPrototypes/JamventGui01
And see if we can repackage as a visual studio project..
@jwild