|
Post by bigbass on Sept 11, 2022 17:18:02 GMT 1
Hello vovchik thanks for testing and confirming on mint and the RPI4 I want to have a list of bacon programs debian packaged for different archs RPI3 and RPI4 RPI3 aarch64 32 bit and 64 bit to make it easy to install and unistall and even people outside the forum could use what we do in a standardized way using packages maybe you or Alex or Peter or anyone else using a RPI4 could test build making a package (if you are bored and want to try something new) using the cmake build to generate a package sourceforge.net/projects/bassix-gtk3-webkit-browser/files/CMAKE_BUILDS/CMAKE_CLI_DOWNLOADER_2.1.0.tar.gz/downloadeasy just three commands cmake . cmake --build . cpack Joe
|
|
|
Post by alexfish on Sept 11, 2022 21:31:22 GMT 1
Hi Joe
RE RPI4 did standard
cmake . make
& the make package
cmake . cmake --build . cpack
All OK
BR Alex
|
|
|
Post by bigbass on Sept 12, 2022 4:30:15 GMT 1
Hello Alex
thanks for taking the time to test the cmake build of the package
its great to see that the RPI3 and RPI4 can use the same source code for QT5 mixed with bacon
thanks again that's a big help
Joe
|
|
|
Post by bigbass on Sept 14, 2022 5:33:21 GMT 1
Hello Alex a couple of days ago you posted an arch detection header well here is a Qt way of getting some values BTW cmake is even better than Qt it has many system tests thought to post a low level system demo
'all the detailed info explained well but no demos on this link below 'https://doc.qt.io/qt-5/qsysinfo.html#details
'demo code by bigbass Sept 13 2022 PRAGMA INCLUDE <QtCore/QtCore> <QtCore/QSysInfo> <QtCore/QDebug> PRAGMA LDFLAGS -lQt5Core PRAGMA COMPILER g++ PRAGMA OPTIONS -Wno-write-strings -Wno-pointer-arith
'RPI3 and 4 PRAGMA OPTIONS -I/usr/include/arm-linux-gnueabihf/qt5
'x86_64 'PRAGMA OPTIONS -I/usr/include/x86_64-linux-gnu/qt5
OPTION PARSE FALSE COLOR FG TO INTENSE BLUE DEF FN PRINTOUT(x) = qDebug() << (x)
PRINT "Qt version" PRINT qVersion() FORMAT "%s \n" PRINT "----------------------------------" COLOR RESET
COLOR FG TO INTENSE GREEN PRINT "build Abi" PRINTOUT(QSysInfo::buildAbi()) PRINT "----------------------------------" COLOR RESET
COLOR FG TO INTENSE RED PRINT "build Cpu Architecture" PRINTOUT(QSysInfo::buildCpuArchitecture()) PRINT "----------------------------------" COLOR RESET
COLOR FG TO INTENSE YELLOW PRINT "current Cpu Architecture" PRINTOUT(QSysInfo::currentCpuArchitecture()) PRINT "----------------------------------" COLOR RESET
COLOR FG TO INTENSE BLUE PRINT "kernel Type" PRINTOUT(QSysInfo::kernelType()) PRINT "----------------------------------" COLOR RESET
COLOR FG TO INTENSE GREEN PRINT "machine Host Name" PRINTOUT(QSysInfo::machineHostName()) PRINT "----------------------------------"
COLOR RESET COLOR FG TO INTENSE WHITE PRINT "machine Unique Id" PRINTOUT(QSysInfo::machineUniqueId()) PRINT "----------------------------------" COLOR RESET
COLOR FG TO INTENSE RED PRINT "pretty Product Name" PRINTOUT(QSysInfo::prettyProductName()) PRINT "----------------------------------" COLOR RESET
COLOR FG TO INTENSE BLUE PRINT "product Version" PRINTOUT(QSysInfo::productVersion()) PRINT "----------------------------------" COLOR RESET
'The size in bits of a pointer for the platform on which 'the application is compiled (32 or 64). COLOR FG TO INTENSE WHITE PRINTOUT(QSysInfo::WordSize) PRINT "BIT SYSTEM" PRINT "----------------------------------" COLOR RESET
|
|
|
Post by alexfish on Sept 14, 2022 15:59:21 GMT 1
Hi Joe
Compile OK.
results RPI4
Qt version 5.15.2 ---------------------------------- build Abi "arm-little_endian-ilp32-eabi-hardfloat" ---------------------------------- build Cpu Architecture "arm" ---------------------------------- current Cpu Architecture "arm" ---------------------------------- kernel Type "linux" ---------------------------------- machine Host Name "raspberrypi" ---------------------------------- machine Unique Id "6ac5e39785b14cceb476a856fcc24fd6" ---------------------------------- pretty Product Name "Raspbian GNU/Linux 11 (bullseye)" ---------------------------------- product Version "11" ---------------------------------- 32 BIT SYSTEM
BR Alex
|
|