15,910,886 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 13740197 (Top 36 by date)
Member 13740197
6-May-22 2:56am
View
Ok thank you
Member 13740197
6-May-22 1:52am
View
Ok thank you
Member 13740197
24-Feb-22 8:57am
View
Thanks for the reply Richard.
I have checked the man page and found below one to get exit status.
WEXITSTATUS(ret);
But in my case it is getting 255, how can we find root cause, based on this value?
Member 13740197
24-Jul-19 6:21am
View
Thanks for the answer. When I used this -loop 0 working fine but after sometime I am getting below error. I am using linux POS device, below is uname -a output
Linux companyname 3.0.35-2666-gbdde708 #43 PREEMPT Sat May 19 10:11:22 IST 2018 armv7l GNU/Linux
Can you please help how to resolve this error.
Error:
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
MPlayer interrupted by signal 2 in module: ao2_init
Can't restore text mode: Invalid argument
Member 13740197
23-Jul-19 3:28am
View
Thaks for the answer
Member 13740197
16-Jul-19 6:46am
View
Thanks for the answer.
Member 13740197
12-Jul-19 1:30am
View
Hi,
Thanks for the answer. I have tried with your code but I am unable to play GIFs.Below is the play function. I am printing i value, it is printing continuously 0 and 1 but the gif is not playing. Can you please tell me how to solve this.
void play(char *gif)
{
movie = new QMovie(gif);
if (!movie->isValid())
{
qDebug()<<"Movie is Inavlid";
}
ui->label_banner->setMovie(movie);
movie->start();
ui->stackedWidget->setCurrentIndex(4);
}
Member 13740197
3-Jun-19 6:41am
View
Thanks for the answer
Member 13740197
3-Jun-19 5:00am
View
I have already sent the output to a file /root/response.json. But this file is empty when curl error is 6 and 28 case. But my requirement is to read this error numbers.
Member 13740197
22-May-19 8:40am
View
Hi, I have another problem after playing and stopping video. After 10 times while I am playing video I got below error, Can you please tell why this is coming?
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
[AO OSS] Can't set audio device /dev/dsp to s16le output, trying s16le...
MPlayer interrupted by signal 2 in module: ao2_init
Can't restore text mode: Invalid argument
Member 13740197
22-May-19 8:29am
View
Thanks for your answer
Member 13740197
3-May-19 2:55am
View
This explaining how to save the image but my requirement is how to convert qlistwidgetitem to QImage.
Member 13740197
3-May-19 2:21am
View
My code
public:
static Widget * Get(){return w_pThis;}
protected:
static Widget * w_pThis;
After using this I am getting below error
error: undefined reference to `Widget::m_pThis'
Can you please tell me how to solve this.
Member 13740197
2-May-19 6:46am
View
Can you please explain with an example.
Member 13740197
24-Apr-19 1:43am
View
Hi
After using pointers also I am unable to access ui. Below is which I have used.
Widget *obj;
obj->Display_image();
also tried below
Widget *obj = new Widget();
obj->Display_image();
Can you please provide me the solution.
Member 13740197
9-Apr-19 1:25am
View
The below is some part of the code which is used in the library.
m_capStartAct = new QAction(QIcon(":/images/record.png"), "&Start capturing", this);
QAction *quitAct = new QAction(QIcon(":/images/exit.png"), "&Quit", this);
QToolBar *toolBar = addToolBar("");
toolBar->setObjectName("toolBar");
toolBar->addAction(m_capStartAct);
toolBar->addAction(quitAct);
Here the images record.png & exit.png are present in resource file rsc.qrc.
But when I am using this library in another application the images are not displaying(means empty button) and function is working fine. I have added these images to my application as a resource file but still, images are not displaying. Can you please help me.
Member 13740197
8-Apr-19 8:29am
View
Thanks for the reply, now I am able to run my application. But I got another issue. My library contains GUI which uses resource file for images.
And I have added this resource file in my application also, but when I am running my application these images are not displaying. So how to make it possible to display, Can you please help.
Member 13740197
5-Apr-19 3:33am
View
Hi
I got a solution for this. I have created a library project with qt using New project->OtherProject->C++ Library. After building the project four shared libraries are created in the project folder like abc.s0, abc.so.1, abc.so.1.0 and abc.so.1.0.0.
I used this libraries in another project which is successfully run. After running that exe in target I got error below
./mycam: error while loading shared libraries: abc.so.1: cannot open shared object file: No such file or directory
What is this error and how to resolve it, Can you please help.
Member 13740197
3-Apr-19 4:56am
View
Actually the object files I have taken from qt project folder after building.
Member 13740197
2-Apr-19 6:37am
View
I have tried with object files like below
gcc -shared -o libc.so camcapture.o capture-win.o ctrl-tab.o designer.o general-tab.o glMsgDialog.o json.o main.o qrc_rsc.o qv4l2.o v4l2-api.o
But I am getting below error
/usr/bin/ld: camcapture.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: camcapture.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: camcapture.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: camcapture.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: camcapture.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: camcapture.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: camcapture.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: camcapture.o: Relocations in generic ELF (EM: 40)
camcapture.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
What is this error and do I need to do anything to do with ld command and object files.
Member 13740197
1-Apr-19 9:04am
View
Thanks for the reply.
The link which you have sent is giving an explanation about creating a library using .c files. But in my case, the whole qt project(which consists of default classes and functions because of this I could not convert into .cpp files) should convert into a library.
Member 13740197
10-Apr-18 7:06am
View
Sorry for not mentioning,USB means Pendrive.I need to know whether Pendrive is connected or not using if condition.
Member 13740197
10-Apr-18 6:28am
View
It asking for arguments
lsusb -s [[bus]:][devnum]
lsusb -d vendor:[product]
what I have to give here.My requirement is only to check whether USB is connected or not.If connected it has to copy file otherwise it has to display a message to user to connect USB.
Member 13740197
10-Apr-18 6:06am
View
Path I have taken correctly.Is there any way to assign hexadecimal values to visb_bmp char array(as shown above).
Member 13740197
10-Apr-18 5:46am
View
The code you given is not printing anything
Member 13740197
10-Apr-18 5:45am
View
The code is working fine if I take visb_bmp value taken llike below.
So how to convert image to this hexadecimal bytes and save to visb_bmp
unsigned char visb_bmp[]=
{
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x87,0xfd,0xe0,0x1f, //*16bytes*
0x3c,0x0,0x70,0x0,0x80,0x83,0x3f,0xe0,0xff,0x81,0xff,0x87,0x7f,0x80,0x7f,0x30, //*16bytes*
0xf8,0x1f,0xfc,0xf,0xf2,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x87,0xfc,0xc0,0x1f, //*16bytes*
0x3c,0x0,0x70,0x0,0x80,0x83,0x3f,0xe0,0x7f,0x0,0xfe,0x87,0x1f,0x0,0x7c,0x70, //*16bytes*
0xf0,0x1f,0xfc,0xf,0xf9,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x3,0xfe,0x81,0x1f, //*16bytes*
0x3c,0x0,0x70,0x0,0x80,0x83,0x1f,0xe0,0x1f,0x4,0xfc,0x87,0xf,0x0,0x78,0x70, //*16bytes*
0xf0,0x1f,0xfc,0x7,0xf9,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x41,0xfe,0x83,0x1f, //*16bytes*
0x3c,0x0,0x70,0x0,0x80,0x83,0x1f,0xe0,0xf,0x66,0xf8,0x87,0xf,0x0,0x78,0x70, //*16bytes*
0xf0,0xf,0xfe,0x87,0xfc,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x21,0xff,0x3,0x1f, //*16bytes*
0x3c,0x0,0x70,0x0,0x80,0x83,0xf,0xe0,0xcf,0x64,0xf0,0x87,0x7,0x0,0x78,0x70, //*16bytes*
0xf0,0xf,0xfe,0x3,0xfc,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x20,0xff,0x7,0x1e, //*16bytes*
0xfc,0xff,0xf0,0x1f,0xfe,0x83,0xf,0xe0,0xc7,0x0,0xe3,0x87,0x7,0x7f,0x70,0xf0, //*16bytes*
0xe0,0xf,0xfe,0x43,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x90,0xff,0xf,0x1e, //*1
};
Member 13740197
10-Apr-18 5:33am
View
The code is working fine if I take visb_bmp value taken llike below.
So how to convert image to this hexadecimal bytes and save to visb_bmp
unsigned char visb_bmp[]=
{
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x87,0xfd,0xe0,0x1f, //*16bytes*
0x3c,0x0,0x70,0x0,0x80,0x83,0x3f,0xe0,0xff,0x81,0xff,0x87,0x7f,0x80,0x7f,0x30, //*16bytes*
0xf8,0x1f,0xfc,0xf,0xf2,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x87,0xfc,0xc0,0x1f, //*16bytes*
0x3c,0x0,0x70,0x0,0x80,0x83,0x3f,0xe0,0x7f,0x0,0xfe,0x87,0x1f,0x0,0x7c,0x70, //*16bytes*
0xf0,0x1f,0xfc,0xf,0xf9,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x3,0xfe,0x81,0x1f, //*16bytes*
0x3c,0x0,0x70,0x0,0x80,0x83,0x1f,0xe0,0x1f,0x4,0xfc,0x87,0xf,0x0,0x78,0x70, //*16bytes*
0xf0,0x1f,0xfc,0x7,0xf9,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x41,0xfe,0x83,0x1f, //*16bytes*
0x3c,0x0,0x70,0x0,0x80,0x83,0x1f,0xe0,0xf,0x66,0xf8,0x87,0xf,0x0,0x78,0x70, //*16bytes*
0xf0,0xf,0xfe,0x87,0xfc,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x21,0xff,0x3,0x1f, //*16bytes*
0x3c,0x0,0x70,0x0,0x80,0x83,0xf,0xe0,0xcf,0x64,0xf0,0x87,0x7,0x0,0x78,0x70, //*16bytes*
0xf0,0xf,0xfe,0x3,0xfc,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x20,0xff,0x7,0x1e, //*16bytes*
0xfc,0xff,0xf0,0x1f,0xfe,0x83,0xf,0xe0,0xc7,0x0,0xe3,0x87,0x7,0x7f,0x70,0xf0, //*16bytes*
0xe0,0xf,0xfe,0x43,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, //*16bytes*
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x90,0xff,0xf,0x1e, //*1
Member 13740197
10-Apr-18 2:53am
View
I tried below,but if usb not connected also it is entering into if condition.Tell me why?
ret = system("lsusb -v");
if (ret == 0)
pop_up("Connected you USB drive...");
else
{
pop_up("USB Drive Not Connected..");
return;
}
Member 13740197
4-Apr-18 7:11am
View
This is not working.In query executing it is entering but not entering into
while(query.next).Can you please tell me the solution.
Member 13740197
31-Mar-18 10:02am
View
Sorry Iam unable to understand this,Can you please provide me any video on how to scroll a screen.
Member 13740197
28-Mar-18 5:33am
View
I have taken vertical layout on Scroll area.But I had problem that when taking any object I am unable to resize width and height.Especially when taking label it is coming with maximum width & height equal to scroll area.But my requirement is to place a label beside another label.Can you please provide me the solution.
Member 13740197
27-Mar-18 8:33am
View
Sorry I am unable to find the QVBoxLayout in QT GUI,Can you please tell me how to take
Member 13740197
27-Mar-18 6:29am
View
Thank you
Member 13740197
27-Mar-18 5:31am
View
I have know idea on sqlite,so which datatype we have to take to save QDatetime object in db.And how to retrieve the object.Means can I take directly object as qry.value(0)
Member 13740197
26-Mar-18 5:33am
View
Thank you somuch for your answer
Member 13740197
26-Mar-18 4:31am
View
It's working fine,but I had a problem when I am updating a parameter in the same row.
query.prepare("UPDATE ISSUEPASS SET INTIME =? WHERE PassID = :passId");
query.addBindValue(intime);
query.bindValue(":passId", num);
Here intime is QString variable,but Iam getting Sql error "Parameter Count mismatch"
Can you please tell me the solution.
Show More