Qt Forum - programming with C++ and Qt
Register Calendar Members List Team Members Search Frequently Asked Questions Go to the Main Page

Qt Forum - programming with C++ and Qt » QtForum.org » QtForum » Announcements » QtForum.org Guidelines » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Recommend to a Friend | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page QtForum.org Guidelines 27 Votes - Average Rating: 9.1527 Votes - Average Rating: 9.1527 Votes - Average Rating: 9.1527 Votes - Average Rating: 9.15
Author
Post « Previous Thread | Next Thread »
Christian
unregistered
QtForum.org Guidelines Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

  1. Please read this before you ask any questions.

  2. Homework questions are for you. You are the one who should solve
    them. We are prepared to help you with your questions, but we don't
    want to give you a complete solution. You should think on your own,
    learning from your mistakes.

  3. Please try not to ask a C++ specific question in one of the Qt-related
    forums. We have a separate C++ forum for this.

  4. If you ask something, make sure that you have told us everything
    that could be related to your question/problem. Give us a detailed
    description of your problem (plus the operating system you use and the Qt version),
    and any associated source code that is neccessary to solve the problem.

  5. If your question contains source code, make sure that you make use
    of the code tags. This means that you should put your code between
    [ C O D E ] and [ / C O D E ]. This makes the code much more readable.

  6. If you have a really complex problem, it would be helpful if you could
    attach a small - but complete - (g)zipped Qt project with a .pro file.
    This is so that we can test the code quickly, meaning that you get a faster
    response from us. You get the opportunity to attach files at the end
    of every new thread/post form.

  7. If you want to show us something that is an image, please attach the image
    file, rather than linking to it. This is because external hosting solutions can be
    unreliable (images are deleted, server addresses change, etc).
    Then, if the image is not available, other users who have the same problem†
    won't be able to reconstruct the problem you had. If you attach your image,
    it will always be available on our server.

  8. If we gave you a hint (a piece of source code or something else)
    which solved your problem, please let us know about your success!
    Something like "thanks - problem solved" is fine. Then, everyone
    knows, "okay, this is the solution - I can use this."
    And being polite - especially when someone did actually solve your
    problem - is really appreciated.
25.08.2005 09:32
Sathyan Sathyan is a male
Coder


Registration Date: 17.11.2006
Posts: 18
Location: India(at Present in China)

Level: 16 [?]
Experience: 9,874
Next Level: 10,000

126 points of experience needed for next level

How to close a thread or post...?? Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

How to close a thread or post...??
15.12.2006 08:10 Sathyan is offline Send an Email to Sathyan Search for Posts by Sathyan Add Sathyan to your Buddy List YIM Account Name of Sathyan: jane_sathyan@yahoo.com
jan1024188 jan1024188 is a male
Senior Software Engineer


Registration Date: 02.02.2007
Posts: 76
Location: Slovenia

Level: 21 [?]
Experience: 35,832
Next Level: 38,246

2,414 points of experience needed for next level

RE: How to close a thread or post...?? Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

only moderators can close threads

__________________
www.jan1024188.com
13.03.2007 18:27 jan1024188 is offline Send an Email to jan1024188 Homepage of jan1024188 Search for Posts by jan1024188 Add jan1024188 to your Buddy List
doctor
Coder


images/avatars/avatar-406.jpg

Registration Date: 12.07.2006
Posts: 12

Level: 16 [?]
Experience: 8,113
Next Level: 10,000

1,887 points of experience needed for next level

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

What are those experience, levels and how this works. In the FAQ I can only see laconic statement in some germanic language (dutch ?).
19.08.2007 16:40 doctor is offline Send an Email to doctor Search for Posts by doctor Add doctor to your Buddy List
landy
Assistant


Registration Date: 22.08.2007
Posts: 1

Level: 6 [?]
Experience: 271
Next Level: 282

11 points of experience needed for next level

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

YES, I think so.

__________________
Dedicated charger is together with bull horn
22.08.2007 05:04 landy is offline Send an Email to landy Search for Posts by landy Add landy to your Buddy List
salmanq
Assistant


Registration Date: 12.09.2007
Posts: 1

Level: 6 [?]
Experience: 250
Next Level: 282

32 points of experience needed for next level

RE: QtForum.org Guidelines Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi, This post is very informative, however I would like some specific information. If someone can help me then please send me a private message. Best Regards,

Property & Real Estate Directory | Wholesale Suppliers
Australia Wholesalers and Dropshippers | Dubai Property and Real Estate
12.09.2007 11:41 salmanq is offline Send an Email to salmanq Search for Posts by salmanq Add salmanq to your Buddy List
nistoriurie nistoriurie is a male
Assistant


Registration Date: 08.12.2007
Posts: 3
Location: Moldova

Level: 8 [?]
Experience: 487
Next Level: 674

187 points of experience needed for next level

RE: QtForum.org Guidelines Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hello! I am trying to make a client-server peer with QSslSocket(QT-4.3 version). I don't understand how to setup the correct certificates and keys for server side and client side. How to make correctly these files? I setup CA certificate and rest of files with openssl command. When I run the client it accepts the connection, but my server refuses the connection with an error message: "The peer did not present any certificate". Can anyone help?
Thank you! Iurie

---------------- server code --------------------
void Server::incomingConnection(int socketDescriptor)
{
qDebug("New client connection incomming...%d ",socketDescriptor);
sslSocket = new QSslSocket(this);

sslSocket->setPrivateKey("serverkey.pem");
qDebug() << "private key:" << sslSocket->privateKey().isNull();
sslSocket->setLocalCertificate("servercrt.pem");
qDebug() << "certificate: " << sslSocket->localCertificate().isNull();

//sslSocket->ignoreSslErrors();
if(sslSocket->setSocketDescriptor(socketDescriptor))
{

connect(sslSocket,SIGNAL(encrypted()),this,SLOT(ready1()));
connect(sslSocket,SIGNAL(disconnected()),this,SLOT(Disconnected()));
connect(sslSocket,SIGNAL(readyRead()),this,SLOT(MyCommand()));

sslSocket->startServerEncryption();
qDebug() << sslSocket->errorString();
qDebug("coonection state: %d",sslSocket->state());
qDebug("connection mode: %d",sslSocket->mode());
}
else delete sslSocket;
}


--------------- client code --------------

sslSocket = new QSslSocket(this);


//sslSocket->setCaCertificates(sslSocket->defaultCaCertificates()); // what to do with this?????

sslSocket->setPrivateKey("clientkey.pem");
qDebug() << "private key is null: " << sslSocket->privateKey().isNull();
sslSocket->setLocalCertificate("clientcrt.pem");
qDebug()<< "certificate is null: "<< sslSocket->localCertificate().isNull();
connect(sslSocket,SIGNAL(encrypted()),this,SLOT(encryptedconnection()));
connect(sslSocket, SIGNAL(disconnected()),this,SLOT(Disconnected()));

sslSocket->connectToHostEncrypted("81.180.77.168",PORT);
qDebug()<<"peer certificate is null?:"<<sslSocket->peerCertificate().isNull();
qDebug() << sslSocket->errorString();
------------------------------------------
08.12.2007 13:55 nistoriurie is offline Send an Email to nistoriurie Search for Posts by nistoriurie Add nistoriurie to your Buddy List YIM Account Name of nistoriurie: iurienistor
newnikeshoes newnikeshoes is a female
Coder


Registration Date: 03.04.2008
Posts: 2
Location: china
Jabber: colgle

Level: 4 [?]
Experience: 92
Next Level: 100

8 points of experience needed for next level

Daumen hoch! all new models of shoes for sales in www.newnike-shoes.com Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

There are various styles and colors in our website(www.newnike-shoes.com).
we sell sport shoes,such as: a series of Nike,jordan,shox,max,puma,gucci,Adidas,Bape,AF1,Prada timerland
clothes,such as: hoody,jean,t-shirt,sleeve,coat jacket. clothes brand is GGG,coogi,Kidrobot,Artful Dodger,10Deep bape bbc ggg lrg a&f ggg evisu redmonkey lacoste polo and so on bag,suchas:Chanel,Gucci,Coach,CHLOE,Dior,Juicy,Prada,Guess,D&G,Versace,Fend
i and watch hat wallet
We update the products every day. Our products have got good reputation. We can supply various styles and colors, and our products have got a good reputation among dunk shoe factories.
please go to our website for more details:
website: www.newnike-shoes.com
MSN: newnike-shoes@hotmail.com
e-mail: newnike.shoes@yahoo.com.cn

__________________
Hello! welcome to our website; http://www.newnike-shoes.com
03.04.2008 06:59 newnikeshoes is offline Homepage of newnikeshoes Search for Posts by newnikeshoes Add newnikeshoes to your Buddy List Add newnikeshoes to your Contact List AIM Screen Name of newnikeshoes: liao YIM Account Name of newnikeshoes: newnike.shoes View the MSN Profile for newnikeshoes
sgh sgh is a male
Senior Software Engineer


Registration Date: 17.03.2008
Posts: 77

Level: 14 [?]
Experience: 4,801
Next Level: 5,517

716 points of experience needed for next level

RE: QtForum.org Guidelines Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

I like qt forum. smile
i visit this site, registry member and i already post some thread for a few days age.
then i have some questions.
i dont understand mail box icon where is left in main forum.
my icon always selected "Thread with own posts".
and who is assign Rank for everyone?
11.04.2008 12:01 sgh is offline Send an Email to sgh Search for Posts by sgh Add sgh to your Buddy List View the MSN Profile for sgh
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
Qt Forum - programming with C++ and Qt » QtForum.org » QtForum » Announcements » QtForum.org Guidelines

views today: 7.464 | views yesterday: 9.371 | total views: 10.262.308


Klebekork Shop - Linux Shop - Kontaktanzeigen - Linux Forum -  SMS Gewinnspiel -  Hotels -  Stadtpläne -  Branchenbuch & Stadtplan

Branchenbuch Österreich - Branchenbuch Niederlande - Portugal Branchenverzeichnis - Spanien Branchenverzeichnis 
Telefonbuch - Branchenbuch Frankreich