Extraction
Hi, How to extract and print the fields in following pattern: The fields are,date,time ip address,user agent cookies ,byte,refer etc(This is a log file) [03/Dec/2013:10:53:59 +0000] - [32002...
View ArticleThese transitions are ignored
The states are changing, but do so instantly with no animation over 100 ms or 1000 ms depending on the transition; that is to say, the transitions appear to be ignored. Anyone know why? ...
View ArticleFileOpenEvent not called.
I have a program with a custom file format and I’m trying to get the file to open from Finder on Mac OSX using Qt 4.8. I’ve done this before in another program and it worked just fine. Even though I...
View Articlepassing c++ flag in qbs
Sorry if it is not the right place. I need to know how to pass -std=c++0x to my qbs project.
View ArticleCreating a new custom android activity not possible
Hei there. I’ve tried to create a new custom android activity via QtAndroidExtras. I first call a static method from a java file. This method then tries to create the android activity via Intent. But...
View ArticleMy GridView won't select currentItem
Hey I’ve been trying to learn qml on and off but now i want to give it the big effort. I have code that uses a Gridview and a ListModel that only contains images. The part i want to you notice is my...
View ArticleProblem with eglfs
Hello, I have strange issue with eglfs plugin. I’m using fully upgraded Arch Linux ARM + Qt 5.2. QmlViewer works flawlessly using eglfs, but all other programs (qmlscene, examples, simple hello world...
View ArticleGLSL programming...
I have a QGLWidget with a GLSL program that uses the RGBA values in a RGBA32F texture as a vertex buffer, reading the vertices using a texel fetch in the vertex shader. For the most part, everything...
View ArticleGeneral questions about using Qt for 2D game development
I want to try to use Qt as GUI for my pet-projects, which are usually based on Allegro library. But I simply can’t see where to start. All examples of using Qt with OpenGL applications seem to create...
View ArticleTworzenie pliku *.exe
Witam, napisałem prostą aplikację w Qt – kalkulator liczb zespolonych. Chciałem podzielić się nią z innymi – wypuścić gotową aplikację o rozszerzeniu .exe W tym celu w Qt Creator wybrałem w opcjach...
View Articlekeyboard modifiers problem
hi! I was working with events in Qt and reached to QKeyEvent so far! I used modifiers() function like this : if(event->modifiers() & Qt::ControlModifier == 0) ...
View Articlewhat is grabKeyboard, grabMouse,... ?
hi! what is grabKeyboard, grabMouse, releaseKeyboard, releaseMouse functions? are they events? what is their difference from keyPressEvent ,… ? can you show me an example of using them? I searched them...
View ArticleQt5.2 and Qtlocation
Hello, I use to work with Qt 4.8.4 and Qtlocation module. So I download Qt5.2 and the QtLocation module. The download and the setup seems to work properly. I try on example with the QtLocation module,...
View Article[Solved] ListView -- Change color of current item text when moving to new item
Hi, Is there anyway to gain access to my delegates text color and change it when i move from one item to the next in my ListView? Brian
View ArticleQWebView within QTabWidget: Calling a URL crash the whole Program
Hello. I have created a new QTabWidget and added a TextEditor and a QWebView. The Problem is, when i try to open a URL, the complete Program crash. I know i am missing something. Here is part of the...
View ArticleHow to change initial size of QLineEdit
I have a QMainWindow <- QDockWidget <- QVBoxLayout <- QLineEdit. The dock widget is vertical, i.e. on either left or right sides of the main window. The problem is that the initial...
View ArticleQt5.2 Raspberry, how to switch framebuffer ?
Hi, I have installed 320×240 TFT screen on my RPI. The screen configured as /dev/fb1. By running FRAMEBUFFER=/dev/fb0 startx or FRAMEBUFFER=/dev/fb1 startx I can get X-Window on HDMI screen or 320×240...
View ArticleQt webftpclient example is broken - how to fix?
Hi, I like to build some program similar to the webftpclient example (in Qt 4). But the displayed html list is broken because FtpReply::readData in the example code is only called once even if there is...
View ArticleTextInput frustration with the cursor
I’m trying to create the very simple and common behavior of a cursor appearing when you click inside a Text input box, and then disappearing after you press Enter. This is not so easy. I can get the...
View ArticleQT Creator Ncurses
Hello! I writing program using ncurses on IDE QT Creator! When i run it : it write on console: error opening terminal: unknown. How it solves&
View Article