Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.5.0
-
None
-
Windows 10
qt-opensource-windows-x86-5.10.0.exe (I don't remember where I found it, but it was NOT trivial!)
I want to do C programming (no C++ whatsoever). I hope Qt Creator will gladly do this for me and will silently keep C++ stuff in the "C"loset where it belongs. Is there a way for me to ensure that Qt Creator will forever fend off all C++ attacks? I also want to do some Python programming (PyQt5). I know nothing about C++ so maybe my concern is wasted.
I also use Visual Studio 2017. Is there VS/Qt5 support and how/where can I get it?
I have a C Unix project (~1000 modules and ~400,000 lines) that WORKS on Unix. Is it possible, using Qt Creator and Cygwin (or something) to build and run it, with minimal source modification, on Windows 10? The make file is currently lost somewhere.
Windows 10 qt-opensource-windows-x86-5.10.0.exe (I don't remember where I found it, but it was NOT trivial!) I want to do C programming (no C++ whatsoever). I hope Qt Creator will gladly do this for me and will silently keep C++ stuff in the "C"loset where it belongs. Is there a way for me to ensure that Qt Creator will forever fend off all C++ attacks? I also want to do some Python programming (PyQt5). I know nothing about C++ so maybe my concern is wasted. I also use Visual Studio 2017. Is there VS/Qt5 support and how/where can I get it? I have a C Unix project (~1000 modules and ~400,000 lines) that WORKS on Unix. Is it possible, using Qt Creator and Cygwin (or something) to build and run it, with minimal source modification, on Windows 10? The make file is currently lost somewhere.
Description
I'm just starting to use Qt Creator on Windows 10. I'm going through the Notepad example at this site http://doc.qt.io/qt-5/gettingstartedqt.html. When I get to the Qt Widgets Application "Details" step, I enter the class name and press alt-N. Instead of "+N+ext" occurring, a small "n" is appended to my class name. The example has a "+B+ack" button. My window doesn't. Prior to this step there are two other windows 1) to enter project location 2) to select a kit; these are NOT in the example. I chose Desktop Qt 5.10.0 MinGW 32bit. Is this OK? Right now, I don't know enough to know. I would prefer a 64 bit compiler. When I began the example, I naively assumed that Qt Designer would do everything. I would drag-n-drop, click-n-tick, and ALL the associated code would be the result. No, QtD produces only SOME of the code; I have to fill in the rest. As a beginner, this is, to say the least, NOT possible. By the way, I could NEVER figure out how to right-click actionNew to fiddle with the trigger stuff because actionNew wasn't present to right-click like open, save, etc. Yeah, eventually I will know enough to know what to do and how to do it but at that point I will prefer to hand code it. The only reason I installed Qt Creator was to use Qt Designer to answer a question: How can I force some buttons in a horizontal box layout to start on the left and proceed to the right instead of the default R-to-L. (Who dreamed this up?) Nothing I tried had any effect. Here's one whack:
wid = QFrame(self) self.setCentralWidget(wid) #self.createHorizontalLayout() horizontalGroupBox = QFrame(self) #QGroupBox("Honk") horizontalGroupBox.setFrameShape(QFrame.StyledPanel) hBox = QHBoxLayout() hBox.setContentsMargins(0, 0, 0, 0) hBox.setSpacing(0) hBox.setAlignment(Qt.AlignLeft) #hBox.setLayoutDirection(Qt.LeftToRight) hBox.addStretch(1) aButton = QPushButton("A", self) aButton.resize(aButton.sizeHint()) hBox.addWidget(aButton) bButton = QPushButton("B", self) hBox.addWidget(bButton) horizontalGroupBox.setLayout(hBox) vbox = QVBoxLayout() vbox.addStretch(1) vbox.addWidget(horizontalGroupBox) wid.setLayout(vbox)
The buttons stay on the right. I know my lack of understanding is at work here.
When I first ran Qt Creator, my impression was that this sure looks a lot like Visual Studio.
Attachments
Issue Links
- is replaced by
-
QTBUG-46894 QWizard: shortcut for next-button doesn't work
- Closed