We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2d18f7 commit ef5d52cCopy full SHA for ef5d52c
examples/PyGettingStarted/main.cpp
@@ -60,15 +60,6 @@ int main( int argc, char **argv )
60
// evaluate a simple python script and receive the result a qvariant:
61
QVariant result = mainModule.evalScript("19*2+4", Py_eval_input);
62
63
- // Create object from python, hold onto reference in C++:
64
- PythonQtObjectPtr tag = mainModule.evalScript("EyeD3Tagger()\n", Py_eval_input);
65
- Q_ASSERT(!tag.isNull());
66
-
67
- // call python methods from C++
68
- tag.call("setFileName", QVariantList() << "t.mp3");
69
- QVariant fn = tag.call("fileName", QVariantList());
70
- Q_ASSERT(fn.toString() == QString("t.mp3"));
71
72
// create a small Qt GUI
73
QVBoxLayout* vbox = new QVBoxLayout;
74
QGroupBox* box = new QGroupBox;
0 commit comments