Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • QTcpSocket in a console app

    7
    0 Votes
    7 Posts
    10k Views
    V
    It will be more clear for beginners when they understand the basics of socket programming , plz follow the link .. http://csharp.net-informations.com/communications/csharp-socket-programming.htm it will provide the basics. vayne.
  • Class vtkCocoa... is implemented in both ...

    4
    0 Votes
    4 Posts
    2k Views
    B
    Probably you should post vtk related topics at the vtk mailingslist.
  • Qt Creator and changing pixelSizes in rich text

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [Solved] QPushButtons with both text & icons

    5
    0 Votes
    5 Posts
    6k Views
    0
    Could you not use some CSS to manage the styling of the buttons? I have done something similar with Qtoolbuttons
  • Not able to build with Qt Creator on Mac OSX 10.8.1

    3
    0 Votes
    3 Posts
    5k Views
    0
    I am having the same problem and I am using macx-g++, I have tried macx-llvm with the same problem. I can get my code to compile when I omit x86 from the following line in the .pro file and build for 64 bit only. @CONFIG += x86 x86_64@ I have just upgraded to mountain lion, latest xcode and bump Qt libraries to 4.8.3. This was all working fine on Mountain Lion with latest xcode and 4.8.0. I upgraded as there are specific mountain lion fixes in 4.8.3. Might be worth noting I'm building outside of Qt creator just to simplify things a little.
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • LDD on My Deployed Application

    4
    0 Votes
    4 Posts
    2k Views
    D
    Thanks o use chrpath comand line and fix the problem. Now my debian package is building without errors.
  • One widget has different view in Linux, Mac OS X, Windows

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [Solved] Designer driving me nuts .. simple design wanted

    2
    0 Votes
    2 Posts
    1k Views
    B
    You can use the designer to design your ui. There are some simplifications that you can connect predefined signals and slots. What you want to have is program logic and the designer is not able to help you with this because it is not made for that. bq. Always use a proper tool. If you don't have a proper tool, use a hammer. by Montgomery Scott
  • Add Data with a QPushButton to QTreeView

    10
    0 Votes
    10 Posts
    5k Views
    A
    If you use QTreeWidget instead of QTreeView this method will already exist... (addItem, insertItem, etc...)
  • Phonon Mediaplayer - Unsupported format (0x80040265) - MP4

    2
    0 Votes
    2 Posts
    2k Views
    P
    Which operating system are you running? Assuming Linux, and gstreamer, have you installed the gst-plugins related to mp4 files? Depending on your distribution, these will be called something like gst-plugins-ugly. Have a dig around the package manager to see what gst-plugins-* are available. I doubt this is a qt issue. Also you could try a differently encoded file, for example an mp3 file. If that plays it isolates the problem as being system/codec related. If that doesn't work, you will need to be a little more forthcoming with information about your problem if you want help
  • [Solved] How to override a child QWidget's background colour?

    2
    0 Votes
    2 Posts
    2k Views
    JKSHJ
    Ah, apparently I need to call @ childLcd->setAutoFillBackground(true) @ Works now!
  • Starting telnet from Qt application

    3
    0 Votes
    3 Posts
    5k Views
    U
    @ args << getIPAddress() << QString("1705"); @ There may be some other arguments need to be set though. I'm not familiar with Windows's telnet command, but I did ran into some input/output redirection issues using ssh under Un*x and Plink under Windows.
  • Symbol(s) not found collect2: ld returned 1 exit status

    6
    0 Votes
    6 Posts
    3k Views
    H
    I deleted an unnecessary line and the code started working again. Problem solved.
  • Oh My God !What happened when I compiler qtcreater

    1
    0 Votes
    1 Posts
    883 Views
    No one has replied
  • No service found for - "com.nokia.qt.mediaplayer

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    T
    Please do not double post, closing this thread. See "here":https://qt-project.org/forums/viewthread/21115/ for the same problem with a more detailed description.
  • [SOLVED] SVG visiblity of elements

    6
    0 Votes
    6 Posts
    8k Views
    T
    Ok, found the problem: I was just passing a wrong id :-) this code shows a single element of a svg file: @#include <QtGui/QApplication> #include <QtSvg> int main(int argc, char *argv[]) { QApplication app(argc, argv); QGraphicsScene scene; QGraphicsView view(&scene); QSvgRenderer* svgRend = new QSvgRenderer(QLatin1String(":/images/main.svg")); QGraphicsSvgItem* svg = new QGraphicsSvgItem(); if(svgRend->elementExists("g6084")) { svg->setSharedRenderer(svgRend); svg->setElementId(QLatin1String("g6084")); } scene.addItem(svg); view.show(); return app.exec(); } @
  • Qt Music Player

    6
    0 Votes
    6 Posts
    3k Views
    V
    http://stackoverflow.com/questions/5596255/lyrics-api-for-my-ios-music-app this can help you for lyrics http://www.last.fm/api this help to get all other information of track.this return result in xml format including cover art path.
  • Create QByteArray from a packet structure

    5
    0 Votes
    5 Posts
    17k Views
    A
    You can use @QByteArray::append(const char*, int)@ and @QByteArray::fromRawData(const char*, int)@ Be careful with this methods and take a look to Jeroentje@home's post.
  • Placing dynamic QML element in another dynamic QML element.

    4
    0 Votes
    4 Posts
    2k Views
    sierdzioS
    Sound more like a job for ListView or - even better - Repeater elements, then. You can access Repeater's elements by inspecting item.children, and ListView (or GridView) by checking out the model. You need to identify the elements either by index or objectName property, though - standard ids will not work.