Re: [Interest] PySide2 : Adding widget to a QVBoxLayout in a QScrollArea

2021-07-12 Thread Tony Rietwyk
Hi Nicholas, QScrollArea manages a single widget.  It provides a default, or you can override it - look at the docs. So in this case, you could apply the layout and pushbutton to scroll.widget, instead of scroll itself. Also take out the self.setLayout(vbox) - the layout can only belong to

[Interest] PySide2 : Adding widget to a QVBoxLayout in a QScrollArea

2021-07-12 Thread Nicholas Yue
Hi, The QPushButton I added does not stay inside of a scroll area, where am I calling the API wrongly ? import sys from PySide2 import QtWidgets, QtCore class Example(QtWidgets.QWidget): def __init__(self): super(Example, self).__init__() self.initUI() def initUI(self): scroll = QtWidgets.QScr

Re: [Interest] Qt6 (win) linker help: LNK1104 cannot open file OleAut32

2021-07-12 Thread Thiago Macieira
On Sunday, 11 July 2021 11:45:37 PDT David M. Cotter wrote: > > How did you create this project? > > it's just a qmake (.pro) file. i compile and run from within Qt Creator. Can you provide it? Or the stderr of "qmake -d -d" when run on that project? -- Thiago Macieira - thiago.macieira (AT) in