Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.5k Posts
  • Ui3c -convert with error

    1
    0 Votes
    1 Posts
    672 Views
    No one has replied
  • [SOLVED] Q_MOVABLE_TYPE and QSharedDataPointer

    4
    0 Votes
    4 Posts
    2k Views
    L
    Thanks for sharing!
  • 0 Votes
    4 Posts
    6k Views
    I
    You want the generated random numbers to be always different ? You can use time function to seed random number generator and then generates the random number @ srand((unsigned)time(NULL)); int d=rand(); cout<<d; @ The time is a double edged sword :)
  • QMessageBox error

    9
    0 Votes
    9 Posts
    4k Views
    I
    Ok : OS : GNU/Linux OpenSUSE 11.4 (32-bit) architecture : i686 kernel 2.6.37.6-0.20-desktop KDE : 4.7.4 Compiler : gcc 4.5.1 Qt version : 4.7.4 Is this enough ?
  • 0 Votes
    4 Posts
    3k Views
    V
    hello i under stand the problem but dont have result . problem is at qml sile image source is not taking special character. can you help . problem code: @ Image { id: artwork height: 100 width: 100 source: coverart //here is the path with special character like(C:/Users/Administrator.VIVEK-PC/Music/Vicky Donor~!@#$%^&()/Vicky Donor.png) smooth: true z: 9 anchors.horizontalCenter: parent.horizontalCenter anchors.top: parent.top anchors.topMargin: 8 } @
  • 0 Votes
    2 Posts
    993 Views
    H
    You could read the IE registry settings but they may not be configured evenif the system is behind a proxy. Also not 100% safe would be a nslookup for an external domain. If you get an IP, you propably don't have a proxy. If not, chances are high that there is a proxy. IMHO there is no reliable way to know if there is one and how to connect. At some point you must ask the user.
  • Wait for execution

    2
    0 Votes
    2 Posts
    1k Views
    sierdzioS
    Please reformat this pseudocode and wrap it in '@' tags. It's generally considered better to use the event loop together with signals and slots, rather that waiting explicitly. But, if you insist, this piece of code should do the work: @ forever { if (isAnswer == true) break; else qApp->processEvents(); } @
  • How to close QStyledItemDelegate and commit data?

    3
    0 Votes
    3 Posts
    2k Views
    A
    [quote author="AttilaPethe" date="1350020891"]Hello, no one can give a hint?[/quote] Practice some patience please. Allow at least a day or two before "kicking" your topic. Some would argue for a week...
  • Problems compiling with Qt in OSX

    2
    0 Votes
    2 Posts
    2k Views
    sierdzioS
    You need to add this to linker flags: @ -framework Security @
  • Audio/Video Encoding-Decoding

    3
    0 Votes
    3 Posts
    2k Views
    Z
    thank you for response
  • I have a question about ComboBox

    6
    0 Votes
    6 Posts
    2k Views
    A
    That is what I want!! Thanks guys!!
  • Qwt on mac os x

    7
    0 Votes
    7 Posts
    8k Views
    mrdebugM
    Thanks for reply. I think that the program wants the libraries in /usr/local/lib but I want to include them in .app
  • SetVisible(false) causes leaveEvent

    9
    0 Votes
    9 Posts
    3k Views
    B
    I always can suppress things I don't want to have but for me it is logically wrong to get leaveEvents without enterEvents. Additionally emitting "wrong" signals can be avoided. I filed a bug report. Maybe there is a good explanation for this behaviour I cannot see at the moment.
  • [Solved] drawing sympols

    5
    0 Votes
    5 Posts
    2k Views
    M
    bq. Try to find a way to add a [Solved] tag to the title :) For the record, you can do that by editing your initial post and modifying the thread title.
  • Popup Message

    4
    0 Votes
    4 Posts
    3k Views
    M
    You can create a frameless QWidget and show it yourself. A quick search should point you in the right direction.
  • 0 Votes
    2 Posts
    901 Views
    JeroentjehomeJ
    Not really sure what you want to achieve? Think you need to write your own dialog is you want to combine the get file and get directory standard dialogs. greetz
  • 0 Votes
    7 Posts
    7k Views
    F
    Thanks for the tip anyway! If I get some of that happening, I'll post here.
  • Image rotation causes distortion

    7
    0 Votes
    7 Posts
    5k Views
    Q
    That's correct. My bad. I'll try your code right now. Thanks for both of you.
  • Making Splash Screen in QT Designer?

    2
    0 Votes
    2 Posts
    2k Views
    JeroentjehomeJ
    I don't believe the designer does handle a splashscreen widget. If you really need a custom splashscreen you might need to inherit QSplashScreen and do it your self. Otherwise you can read the docs about splashscreen, add the picture and text and have fun. Greetz
  • Treeview qml

    2
    0 Votes
    2 Posts
    2k Views
    sierdzioS
    Tree models/ views don't work in QML. You have to either redesign your app, or try implementing your own view that would accept it. Search this forum for "treeview qml", this subject has been discussed many times here.