Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. qt 5.5.1
    Log in to post

    • UNSOLVED QTableWidget Highlight Partial Text
      General and Desktop • qtablewidget qt 5.5.1 highlight • • Punit  

      3
      0
      Votes
      3
      Posts
      1266
      Views

      @VRonin I am trying to do this. I am a newbiew, so need your assistance. Hope you can understand. Here are some rough code. MediaFileItemDelegate::MediaFileItemDelegate(QObject *parent) :QStyledItemDelegate(parent) { } MediaFileItemDelegate::~MediaFileItemDelegate() { } void MediaFileItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option,const QModelIndex& index) const { QString str = qvariant_cast<QString>(index.data()); painter->save(); painter->setPen(Qt::NoPen); // painter->drawRect(option.rect); if(index.data().toString().contains("xyz")) { painter->setPen(Qt::blue); painter->drawText(option, str); } else { QStyledItemDelegate::paint(painter, option, index); } painter->restore(); } Currently this code is highlighting the whole text (example: My name is xyz) and I am doing manually matching. So how can i select only xyz. Thanks
    • UNSOLVED mediaplayer not able to play video
      General and Desktop • video mediaplayer qt 5.5.1 media player 32bit • • AmazingQt  

      16
      0
      Votes
      16
      Posts
      4891
      Views

      @raven-worx Got keys from plugin meta data ("audiocapture") QFactoryLoader::QFactoryLoader() checking directory path "/home/MYPATH/build-desktop-system-dev-Desktop_Qt_5_5_1_GCC_32bit-Release/MY_PROJECT/mediaservice" ... defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
    • UNSOLVED Does Qt package contains static libs?
      Installation and Deployment • qt 5.5.1 static linking windows 7 64 bi • • mastupristi  

      2
      0
      Votes
      2
      Posts
      1152
      Views

      Hi, welcome to the forum. This package does not contain static Qt libraries. The .a files are used to ease the dynamic linking. On Windows there are two ways to use dynamic libraries. The first one is by calling LoadLibrary (or using QLibrary that wraps it) at runtime. It's not convenient because you need to resolve all the symbols manually this way - lots of pointless work with a huge library like Qt. The other way (preferable and used here) is to link to a library that will load and resolve the shared library (dll) at runtime for you. The .a files you listed are just that. You link to them and you still need the dlls at runtime. As for how you use them: When you create a project in Qt Creator , in your .pro file you add the modules you need in the QT variable, for example: QT += core gui widgets network. After that you just run qmake (Build->Run qmake). This handles all the linking to the right .a files for you. To have a static build (without the dlls) of Qt you need to build it manually from source package. Be aware that there are licensing restrictions for the open-sourced version of Qt when linking statically.
    • UNSOLVED QTcpSocket Connection Problem from Different Compiler?
      General and Desktop • qtcpsocket mingw qtcpserver qt 5.5.1 msvc x64 • • cemaldemir07  

      12
      0
      Votes
      12
      Posts
      4877
      Views

      @cemaldemir07 said: I think the solution is using x64 for more stable but not exact solution. No. If you have a bug in the 32 bit version, switching to 64 bits will not change that. You need to apply yourself, find the problem and ultimately fix it.
    • UNSOLVED Freeze video in QMediaPlayer
      General and Desktop • qmediaplayer qt 5.5.1 freeze • • Mathias  

      2
      0
      Votes
      2
      Posts
      1249
      Views

      Hi and welcome to devnet, QtMultimedia uses Apple's Media Foundation for it's OS X backend so the format supported depends on what Media Foundation can support. Can you try the same application using the latest version of Qt ?
    • UNSOLVED flickrview not working for arm flatform.
      Mobile and Embedded • qt 5.5 qt 5.5.1 flickrview • • vinay133  

      1
      0
      Votes
      1
      Posts
      499
      Views

      No one has replied

    • SOLVED QFtp & QTimer timeout on connectToHost issues (Qt 5.5.1 Win32 VS2013)
      General and Desktop • qtimer qt 5.5.1 qftp • • qDebug  

      12
      0
      Votes
      12
      Posts
      5103
      Views

      My bad, from your last post, I understood that you replaced the deleteLater call by a new allocation. Why are you calling delete right after deleteLater ?
    • SOLVED Decrypt AES with OpenSSL & Qt 5.5.1 Win32 VS2013
      General and Desktop • windows openssl qt 5.5.1 vs 2013 decrypt • • qDebug  

      42
      0
      Votes
      42
      Posts
      15913
      Views

      I am not involved in the encoding part. I did not write one single code for encoding. I get 3rd party XML files and i just want to decode them. To be very clear on this: I can't change the encoding, it is not my software, i do not develop it and i never had. I just got the source code for the de and encrypt part, so i may be able to import the XML files. I never wrote a single line VB code in my life. To be honest, i don't believe security is the issue, the developer just don't want anyone to be able to open it. That may not be an excuse for bad code but so far, i can't change it, i'm just happy now to be able to decode.
    • UNSOLVED Trying to fix memory leak due to QGraphicsScene
      General and Desktop • c++ memory leak qt 5.5.1 • • Akito_Kami  

      13
      0
      Votes
      13
      Posts
      5957
      Views

      @Akito_Kami Your "load" function instantiates a new QGraphicsScene You call it within a loop. Therefore you instantiate multiple QGraphicsScenes I don't see where you need to do that. Also, I wrote "QGraphicsItem-derived", not "QGraphicsItem". If you want to show pixmaps, use QGraphicsPixmapItem, or implement your own version of QGraphicsItem to show a pixmap. Totally unrelated: I hate my junk mail filter. Otherwise I would have answered sooner.
    • SOLVED [SOLVED] QQuaternion has no member named conjugated
      General and Desktop • qt 5.5.1 • • holzkohlengrill  

      9
      0
      Votes
      9
      Posts
      1842
      Views

      Now I realised what my mistake was. When you click (in project settings) on a different kit it is automatically enabled. I thought the version will only be changed when you choose one with the button (computer symbol) in the bottom left corner.
    • UNSOLVED QFileSystemModel: include files from subfolders (Qt 5.5.1)
      General and Desktop • qt 5.5.1 qfilesystemmode subdirs • • qDebug  

      15
      0
      Votes
      15
      Posts
      5575
      Views

      That I understood. That's why I think that QDirIterator is a better tool to find what you want on your drive.
    • UNSOLVED In KDE + Qt 5.5.1 cannot change system tray icon's context menu items
      General and Desktop • qmenu qt 5.5.1 qsystemtrayicon kde • • luipugs  

      3
      0
      Votes
      3
      Posts
      1291
      Views

      I have the same issue with updating the context menu with Qt 5.6 on Ubuntu 16.04 KDE Neo.
    • UNSOLVED FTP QNetworkAccessManager LIST command without QFtp Windows Qt 5.5.1
      General and Desktop • windows qt 5.5.1 ftp qftp • • qDebug  

      2
      0
      Votes
      2
      Posts
      1164
      Views

      Sorry for bringing this old thread back, but have you found a solution for sendig raw commands to the FTP? I am not able to use the old QFTP so i need this to get running with QNetworkAccessManager. Thanks in advance!
    • UNSOLVED QT 5.5 - Working on FTP
      General and Desktop • qt 5.5.1 ftp qtftp • • djmassive  

      9
      0
      Votes
      9
      Posts
      2654
      Views

      By building and reading the documentation and taking a look at the example in the sources
    • SOLVED How to integrate winrt native code to the qt application for windows phone
      Mobile and Embedded • qt 5.5.1 windows phone windows 8.1 windows rt native code • • kranthiT  

      9
      0
      Votes
      9
      Posts
      3226
      Views

      @kranthiT Hi, Do you have any example of ".pro" file on how you imported required libraries and headers? I'm trying for some times to implement Push notification on Windows Phone, but i'm still stuck on allowing access of WinRT C++ classes from Qt Thank yoy
    • UNSOLVED QtFtp and Qt 5.5.1 (Windows): no luck! Solution?
      General and Desktop • windows qmake qt 5.5.1 mingw32-make qtftp • • qDebug  

      14
      0
      Votes
      14
      Posts
      5579
      Views

      Just thought of something… Why not open the qtftp.pro file in Qt Creator and built if from there with the Qt version you are using for your application ?
    • SOLVED Can't have application menu bar in english on OSX french
      General and Desktop • qml os x qt 5.5.1 menubar translations • • nelbok  

      12
      0
      Votes
      12
      Posts
      4373
      Views

      Hello, That not the problem here. If i understand correctly, the OSX Application Menu is translated by Qt, not my application. The problem occurs only with QtQuick and on a OSX no-english. So why i must do give a translated file created by me for QtQuick and not for QtWidgets ? (And not the translated files qt) Regards, nelbok
    • SOLVED [SOLVED] Deploy a portable application on Ubuntu
      Installation and Deployment • c++ ubuntu qt 5.5.1 • • antonyprojr  

      3
      0
      Votes
      3
      Posts
      1254
      Views

      @JKSH Thanks, this link solved my problem.
    • UNSOLVED GStreamer crash with QMediaPlayer
      General and Desktop • qmediaplayer gstreamer ubuntu 14.04 qt 5.5.1 qt 5.2.1 • • enmaniac  

      8
      0
      Votes
      8
      Posts
      3185
      Views

      I have opened the bug ticket https://bugreports.qt.io/browse/QTBUG-50460. Perhaps it is really a bug and will get fixed in the future ;D
    • UNSOLVED Crashed on Mac OS X with QSortFilterProxyModel
      General and Desktop • crash mac os x qt 5.5.1 • • hcfalan  

      2
      0
      Votes
      2
      Posts
      1315
      Views

      Hi, Do you also have OS X accessibility active on 10.10.5 ?
    • UNSOLVED How to hide virtual keyboard in Android?
      Mobile and Embedded • android keyboard qt 5.5.1 virtual • • HPCTECH  

      1
      0
      Votes
      1
      Posts
      618
      Views

      No one has replied

    • UNSOLVED Qt Creator 3.5.1 qmake errors with Qt 5.5.1
      General and Desktop • quick compilation qt 5.5.1 qtcreator 3.5.1 • • hwe1973  

      6
      0
      Votes
      6
      Posts
      2397
      Views

      That one's a classic (and a question that regularly comes back)
    • UNSOLVED Does Qt support Bluetooth Low Energy under Windows 10?
      General and Desktop • windows 10 bluetooth low e qt 5.5.1 • • Jan Roorda  

      6
      0
      Votes
      6
      Posts
      4829
      Views

      @kuzulis Thanks!
    • UNSOLVED Link error when building Qt 5.5.1 with vs2015
      Installation and Deployment • msvc2015 qt 5.5.1 vs2015 vc 14.0 • • Dmitry.Sokolov  

      7
      0
      Votes
      7
      Posts
      3903
      Views

      Thanks for sharing the link !