Quantcast
Browsing all 13965 articles
Browse latest View live

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 Article


These 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 Article


FileOpenEvent 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 Article

passing 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 Article

Creating 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 Article


My 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 Article

Problem 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 Article

GLSL 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 Article


General 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 Article


Tworzenie 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 Article

keyboard 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 Article

what 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 Article

Qt5.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 Article

QWebView 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 Article


How 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 Article

Qt5.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 Article


Qt 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 Article

TextInput 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 Article

QT 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
Browsing all 13965 articles
Browse latest View live