Showing grid lines in a QGridLayout
Hi all, I was wondering if there is an easy way to show the grid lines separating sections in a grid layout governed by the QGridLayout class. The doc has been failing me so far but I still feel there...
View ArticleError while building/deploying project 2dpainting (kit: Desktop Qt 5.0.2 GCC...
Hi All, I have installed Qt 5.0.2 on Ubuntu 13.04. While building i am getting this error /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status make: *** [2dpainting] Error 1...
View ArticleQPageSetupDialog and printer selection
I’ve a strange behavior in QPageSetupDialog, in MS Windows environment. I use this dialog for printer selection, as suggested in many forum. In Windows XP all is ok; in Windows 7 the “Printer” button...
View Article[solved]RightCLickMenu
i have a widget how can i add a menu (open “item1/item2” if RightClicked it) a simple way plz dont link to Qt documentation. just show me a simple exemple.
View ArticleHow i can do embed flashplayer (NPSWF.dll) in QAxWidget
hi according to this link : http://qt-project.org/forums/viewthread/12496/ now i wanna do embed my flashplayer dll file (NPSWF.dll) to my application as i wanna run and load flash swf files in my...
View ArticleQComboBox::currentText()
my problem still non solved: i start a program and change item manually (from 1 to 2), so in my opinion currentText() is “2” now, but QLabel always show me “abc1”, why? i change it! { ...
View ArticleMigration CMake projects from Qt4 to Qt5
As the QtCreator 2.7, I created a simple project “Migration” based on CMake. I want to get Qt4/5 compatible file of the project. I already have a prototype that I tested with Qt4/5 on Windows and...
View ArticleQt - Sort method does not update view - QTreeView and QAbstractItemModel
Hi, This question has been posted multiple times, but none of the answers provided could help me. Hence posting it again. I have a QTreeView and a QAbstractItemModel up and working (Source code copied...
View ArticleUsing QThread to display live camera feed
I am trying to write an application which takes frames from a web camera and displays them on screen. Since I will be processing the frames (using OpenCV, etc), I want to improve the speed of the...
View ArticleQWebKit, Qt 5.0.2, videos.
I have no idea how to include any video into pages that are shown by QWebView. Neither HTML5-video tag (with any codec) nor Flash-player doesn’t work. I’ve read that it can’t play HTML5 video (I’ve...
View ArticleWindows Qt Deployment on Linux under wine (issue with UdpSocket connection)
Hi all, This may be more a “wine” topic, but I am hoping many people in Qt forums have tried similar things. I have built my project in windows XP sp3. I have a deployment that has the .exe and all the...
View Articledifference in days, months and years between two dates
I have a file with multiple dates in this format(example): 20120512 (yyyy-mm-dd) Would basically this: The difference in days, months and years between “20120512” to current date.
View ArticleQWebKit, Qt 5.0.2, видео.
Совершенно нет уже идей как добавить хоть какое-нибудь видео в страницу показываемую QWebView. Ни HTML5-video тэг (ни с каким кодеком), ни Flash не работают. Прочитал что HTML5-video не работает,...
View ArticleIntroducing QtMetrics
We are ready to launch our QtMetrics page for the public now. Description from its wiki page: Purpose of the Qt Metrics web portal is to visualize and communicate the progress of Qt quality, focusing...
View ArticleUsing HelloGL to Display a Model with Assimp
Hey everybody, i got a working code in MSVC 2010 to load a 3d model and display it in a glut-window. Now i try to include this code into a QtGui. Because i have barely any experience with Qt i started...
View ArticleBest way to call external functions from a different process
Hello, I created a basic Qt UI that has buttons. I have an external application that I created in C++ from MSVS2008. I am using QSharedMemory for IPC communication. I have successfully binded the data...
View ArticleGet the audio data sent to the soundcard / get the audio data from another...
Hello, I am programming an audio analyzer. That why, I want to retrieve all datas played from another application (for instance: windows media player, microphones (this one I know how to do it) ) in...
View ArticleSorting with QStandardItemModel and QTableView
Hello, I’m trying to make a simple sorting on a QTableView, where the model is a QStandardItemModel, and the sorting is a QSortFilterProxyModel, but a very strange thing is going on. What I need is...
View ArticleQuestions on how to use QSyntaxHighlighter
Hi, I’m trying to use QSyntaxHighlighter in my code to highlight relevant parts of some program output in a QTextEdit. So I derived a class from QSyntaxHighlighter and wrote highlightBlock(). This...
View Article