Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • 0 Votes
    4 Posts
    2k Views
    C
    Just to let everyone know, yes you can specify this within the Phonon effects classes... Thanks... Curtis
  • Multiple return types?

    6
    0 Votes
    6 Posts
    5k Views
    I
    You can always return a @ std::pair < Person, Error > @ or a pair of pointers. An alternative, quite evil but fun way would be: @ template < typename RetVal > struct ReturnType { bool error; union { RetVal * retval; Error * error; }; }; ReturnValue < Person > ParseXML(string XML) ... @
  • A QTabWidget / QToolBox hybrid?

    5
    0 Votes
    5 Posts
    3k Views
    G
    Hm, the end is open. We're undecided in the project on how to proceed, maybe we end up with our own implementation too. I'll have to check if it's ok to release it LGPL then.
  • 0 Votes
    8 Posts
    7k Views
    G
    I added a "DocNote":/doc/qt-4.8/qtabwidget.html#notes for future reference. Feel free to add those yourself, in case you have the answer of a question like this!
  • [SOLVED] Page number in QTextDocument for envelopes

    9
    0 Votes
    9 Posts
    9k Views
    D
    @shoyeb: It worked! Thank you very much (and happy hacking :-)
  • Get Video FPS using Qt Phonon

    2
    0 Votes
    2 Posts
    2k Views
    D
    Maybe it's better move to Qt Multimedia for a low level API?
  • How can we block keyboard input in Qt?

    3
    0 Votes
    3 Posts
    8k Views
    B
    You can use @QWidget::setEnabled(false)@ to disable mouse and keyboard events for a specific widget. Globally, you could try this thread: http://www.head-fi.org/t/100145/disable-keyboard-input-with-c-c. It talks about using c/c++ to disable keyboard input events, not sure why you would want to do that though.
  • [SOLVED] QDataWidgetMapper unexpected 'No Such Signal' connect error

    2
    0 Votes
    2 Posts
    3k Views
    W
    SOLVED: I set the parent to my QDataWidgetWrapper and this message disappeared.
  • Qt Application with CLI Commands

    18
    0 Votes
    18 Posts
    8k Views
    M
    Be sure and let us know what you find out!
  • 0 Votes
    4 Posts
    13k Views
    M
    Be sure and edit the title of your thread to add [Solved]. Thanks!
  • [SOLVED]Failed to start program. Path or permissions wrong?

    13
    0 Votes
    13 Posts
    38k Views
    M
    Be sure and edit your first post to add [Solved] to the title. Thanks!
  • [Resolved] QT/Mac Icon problem

    4
    0 Votes
    4 Posts
    3k Views
    R
    Eventually, what I ended up doing is actively forcing a blank QIcon onto all my windows (on Mac Only of course). That makes sure that even after the dock icon is changed, all my window captions remain with text only and no icon is shown.
  • Copying two files in a third one...

    41
    0 Votes
    41 Posts
    25k Views
    J
    wow. This thread went down a totally different path than I thought it would. #lol#
  • [SOLVED]DateAndTime

    4
    0 Votes
    4 Posts
    2k Views
    T
    Thank you all for your help. Works perfect;
  • How can we set id to a widget in Qt?

    15
    0 Votes
    15 Posts
    17k Views
    A
    They do. Just make sure you use the right base widget when promoting. Promote a QTextExit to an IdTextEdit and you're good to go. However, that will of course still not allow you to set the ID from designer directly. I did not read this requirement from the question, so I guess it would not be needed.
  • Qmake problems

    11
    0 Votes
    11 Posts
    6k Views
    F
    "INCLUDEPATH+=C:\psql\include” “LIBS+=C:\psql\lib" this should be moved into psql.pro file. my point of view! just do :qmake make
  • Debugging static lib in Ubuntu

    5
    0 Votes
    5 Posts
    3k Views
    G
    [quote author="nikkynakkynoonoo" date="1329954404"]Thanks for all the replies and offers of help (not) I figured it out, eventually. I'll be about as helpful in disclosing it as everyone was helping me![/quote] Everyone on the forum here does support completely voluntarily and for free. Yelling at those people for the reason that you got no answer after four hours, will most probably make them ignore you in the future. Keeping your solution secret isn't going to help change their minds too. Think about it and maybe you want to read http://www.catb.org/~esr/faqs/smart-questions.html and learn how to behave on a public forum next time you post something.
  • Regarding QPushButton

    4
    0 Votes
    4 Posts
    2k Views
    U
    thanks d2uriel and Andre for your suggestions. i think that second option given by both Andre and d2uriel is the answer to my case because i don't want to rely on the third party::"QxtGUI".
  • 0 Votes
    6 Posts
    4k Views
    B
    Ok ready to give further information. Here what I'm doing : QFuture<void> l_future = QtConcurrent::map(LIST, ReadImage(some useful args)); The LIST variable is a QStringList containing file path. The ReadImage() method is a function objects used to read a file. Here the gdb trace : Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7d99b70 (LWP 6572)] __memmove_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:1277 1277 ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S: N Do you have any idea ?
  • XML parsing help

    5
    0 Votes
    5 Posts
    2k Views
    A
    Set a breakpoint early in that procedure, and step through the code in your debugger. That will guide you to your issue. You can inspect every variable along the way.