Sunday, July 6th 2008, 12:57am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Christian

Unregistered

1

Thursday, August 25th 2005, 8:32am

QtForum.org Guidelines

  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.
    [/list=1]
  • Go to the top of the page

Sathyan

Beginner

Posts: 18

Location: India(at Present in China)

Occupation: Software Developer

2

Friday, December 15th 2006, 7:10am

How to close a thread or post...??

How to close a thread or post...??
  • Go to the top of the page

jan1024188

Trainee

Posts: 76

Location: Slovenia

Occupation: student

3

Tuesday, March 13th 2007, 5:27pm

RE: How to close a thread or post...??

only moderators can close threads
  • Go to the top of the page

4

Sunday, August 19th 2007, 3:40pm

What are those experience, levels and how this works. In the FAQ I can only see laconic statement in some germanic language (dutch ?).
  • Go to the top of the page

landy

Beginner

5

Wednesday, August 22nd 2007, 4:04am

YES, I think so.
Dedicated charger is together with bull horn
  • Go to the top of the page

6

Wednesday, September 12th 2007, 10:41am

RE: QtForum.org Guidelines

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
  • Go to the top of the page

nistoriurie

Beginner

Posts: 3

Location: Moldova

Occupation: Physicist

7

Saturday, December 8th 2007, 12:55pm

RE: QtForum.org Guidelines

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();
------------------------------------------
  • Go to the top of the page

Posts: 2

Location: china

Occupation: teacher

8

Thursday, April 3rd 2008, 5:59am

all new models of shoes for sales in www.newnike-shoes.com

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,Fendi 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
  • Go to the top of the page

9

Friday, April 11th 2008, 11:01am

RE: QtForum.org Guidelines

I like qt forum. :)
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?
  • Go to the top of the page

Rate this thread