qt-creator

How to write a debugging helper for qtcreator?

China☆狼群 提交于 2020-08-23 08:02:06
问题 When debugging my C++ program using the glm::vec3 class with gdb, the vector classes are quite cumbersome to work with: I've read in the manual, that it's possible to write debug helpers. I've managed to get qtcreator to load the file (the debugger exits immediately with an error, if my python file has a syntax error). How can I write a minimalistic debugging helper? What I've already tried: Here's the C++ code #include <glm/glm.hpp> class Foo { }; int main(int, char**) { glm::vec3 vec3(42,

QtDesigner for Raspberry Pi

≡放荡痞女 提交于 2020-08-09 07:05:48
问题 I am building a UI with QT Designer. I need this UI to run on a Raspberry Pi. What do I need to do to make the UI for the Pi? Does it have to be written in a specific language like python or can I just write it in whatever and launch it on the Pi? I am new to this and would really appreciate the guidance. 回答1: To run qt-creator on Rpi itself. You can install it by "sudo apt-get install qt-creator" It will install qt-creator and qt4-base modules on rpi. After installing, you can run "qt

QtDesigner for Raspberry Pi

杀马特。学长 韩版系。学妹 提交于 2020-08-09 07:05:20
问题 I am building a UI with QT Designer. I need this UI to run on a Raspberry Pi. What do I need to do to make the UI for the Pi? Does it have to be written in a specific language like python or can I just write it in whatever and launch it on the Pi? I am new to this and would really appreciate the guidance. 回答1: To run qt-creator on Rpi itself. You can install it by "sudo apt-get install qt-creator" It will install qt-creator and qt4-base modules on rpi. After installing, you can run "qt

pyqt5 GUI looks different in raspberry pi than in QtCreator

*爱你&永不变心* 提交于 2020-07-23 05:38:10
问题 I am creating a GUI in QtCreator under windows, then converting the .ui file to .py with pyuic5 then moving the generated .py file to raspberry. but the GUI looks very different in raspbian... for example the groupboxes on the raspberry (raspbian) has no border, and the title of the groupbox has a huge font... also in general fonts sizes seem completely random... is this because I create the gui in windows and the use it in the raspberry? 来源: https://stackoverflow.com/questions/51582044/pyqt5

pyqt5 GUI looks different in raspberry pi than in QtCreator

不打扰是莪最后的温柔 提交于 2020-07-23 05:37:53
问题 I am creating a GUI in QtCreator under windows, then converting the .ui file to .py with pyuic5 then moving the generated .py file to raspberry. but the GUI looks very different in raspbian... for example the groupboxes on the raspberry (raspbian) has no border, and the title of the groupbox has a huge font... also in general fonts sizes seem completely random... is this because I create the gui in windows and the use it in the raspberry? 来源: https://stackoverflow.com/questions/51582044/pyqt5

pyqt5 GUI looks different in raspberry pi than in QtCreator

我只是一个虾纸丫 提交于 2020-07-23 05:36:21
问题 I am creating a GUI in QtCreator under windows, then converting the .ui file to .py with pyuic5 then moving the generated .py file to raspberry. but the GUI looks very different in raspbian... for example the groupboxes on the raspberry (raspbian) has no border, and the title of the groupbox has a huge font... also in general fonts sizes seem completely random... is this because I create the gui in windows and the use it in the raspberry? 来源: https://stackoverflow.com/questions/51582044/pyqt5