Skip to content

Language Bindings

You're using Qt with other languages than C++, eh? Post here!
853 Topics 3.3k Posts
  • 0 Votes
    2 Posts
    3k Views
    M

    Wow, I posted the same question today. Any succes?

    http://qt-project.org/forums/viewthread/28360/

  • Can I export my Qt GUI to QtJambi ?

    1
    0 Votes
    1 Posts
    863 Views
    No one has replied
  • 0 Votes
    2 Posts
    4k Views
    L

    "QSqlQuery::addBindValue":http://qt-project.org/doc/qt-5.0/qtsql/qsqlquery.html#addBindValue expects a valid Qt data type such as QString but you are providing STD string instead.

  • How to create a simple class in QT ?

    13
    0 Votes
    13 Posts
    5k Views
    A

    It would be appropriate for you to create another forum thread for this different issue. This way, the moderators will live longer and anyone with similar issues might find such a thread easier. I am not sure about the scope of this forums, though - the question you ask is isolated and has no ties to Qt.

    Basically, if you want to execute a SELECT query for a given value, you compare this value with the name of the table's column:
    @SELECT * FROM evoting WHERE v_id = found_id;@

    Please also do use "@ for code wrapping":http://qt-project.org/wiki/ForumHelp#e3f82045ad0f480d3fb9e0ac2d58fb01 whenever you want to paste a block of code into your post. :-)

  • QNetworkReply doesn't abort/close

    2
    0 Votes
    2 Posts
    2k Views
    J

    what about sleep do you process when you sleep ?
    try :
    @while reply.isReadable () :

    ans = ans + reply.read()

    print (ans)@

  • 0 Votes
    1 Posts
    3k Views
    No one has replied
  • QUiLoader not loading layouts from .ui file

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • I need some help with Jambi

    2
    0 Votes
    2 Posts
    1k Views
    A

    This normally happens when the wrong library is loaded. Include only the library for the platformyou use.

  • QtWebkit bridge in Qt Jambi

    2
    0 Votes
    2 Posts
    1k Views
    A

    Yes, it's possible to use qt webkit with jambi.

    You can use something like:

    QWebView expendiosWebView = new QWebView();
    expendiosWebView.setUrl(new QUrl("classpath:com/nettrace/lotecarng/gui/resources/html/map2.html"));

  • 0 Votes
    3 Posts
    2k Views
    SGaistS

    Hi,

    AFAIK, when you use the constructor variant with the buffer, you must ensure the buffer exists through all the lifetime of the QImage. Check the QImage documentation.

  • [Solved] QTableView reflected in every tab PyQt

    12
    0 Votes
    12 Posts
    7k Views
    D

    Hey, I am sorry to bother you, but I tried to give everyone a parent, and I think they do?
    (from my src code)
    @def init(self, parent=None , **kwargs):
    QWidget.init(self, parent, **kwargs)
    layout = QVBoxLayout(self)
    self.lv = snifferView.view()
    layout.addWidget(self.lv)
    self.setLayout(layout)

    headers = ['No','Source','Destination','Protocol'] self.model = snifferModel.tableModel(headers=headers) self.lv.tableView.setModel(self.model) self.resultList = [] self.hexDump = '' self.count = 0 self.lv.tableView.selectionModel().selectionChanged.connect(self.rowSelected) @
  • PyQt4: DirectX window

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    3 Posts
    4k Views
    S

    Thank you for you question, I found that you used the wrong column index in your code.

    I try the code below is worked.

    parent= QStandardItem("parent1")
    model.setItem(parent)
    for index in range(10):
    myobj=MyClass()
    child= QStandardItem(myobj.name)
    parent.setChild(index,0,myobj)

    child= QStandardItem(myobj.lName) parent.setChild(index,1,myobj)
  • Pyside won't install on WidoZe

    1
    0 Votes
    1 Posts
    795 Views
    No one has replied
  • 0 Votes
    7 Posts
    3k Views
    R

    I am using Python 3 ,I use type() to test the return type of filePath() ,and the result is that filePath() returns str rath2than QString

  • 0 Votes
    3 Posts
    3k Views
    R

    thanks jazzycamel ,you always help me a lot !

  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to use plugins written in C++ from C#

    4
    0 Votes
    4 Posts
    3k Views
    H

    Uh, didn't remember this 8)

  • Setting up Qyoto on Windows

    3
    0 Votes
    3 Posts
    3k Views
    N

    Thanks, I'll go try asking on the KDE forum.

  • Qt Components

    1
    0 Votes
    1 Posts
    742 Views
    No one has replied