November 25, 2010

Jonathan Jonathan
Lab Rat
50 posts

Strange output when I use QString fileName = QFileDialog::getOpenFileName()

 

Executing

  1. QString fileName = QFileDialog::getOpenFileName()
generates output of the sort

SNACNP::NPGetCaps::WNNC_USER
SNACNP::NPGetCaps::WNNC_CONNECTION
SNACNP::NPGetCaps::WNNC_ENUMERATION
SNACNP::NPGetCaps::WNNC_ADMIN
SNACNP::NPGetCaps::WNNC_DIALOG
SNACNP::NPGetCaps::WNNC_START

This is visible in the Application Output window withiin Qt Creator (2.0.1).

What is the significance of this output?

6 replies

November 25, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3156 posts

Which platform do you work on?

November 25, 2010

Gerolf Gerolf
Area 51 Engineer
3210 posts

Hi,

on my machine (Windows 7, Qt 4.7) this does not happen….
Which compiler do you use? Which platform?

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

November 25, 2010

Jonathan Jonathan
Lab Rat
50 posts

Windows 7
Qt Creator 2.0.1 (Based on Qt 4.7.0)
MinGW compiler

November 25, 2010

Gerolf Gerolf
Area 51 Engineer
3210 posts

I think that someone calls NpGetcaps, but don’t ask for the reason… perhaps something that is done implizitly, like Clearcase etc…
http://msdn.microsoft.com/en-us/library/aa378794(VS.85).aspx
“Returns information about which services are supported on the network.” (copy from MSDN)

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

November 25, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3156 posts

Gerolf: Could you change your last comment to English, please? Thanks!

November 25, 2010

Gerolf Gerolf
Area 51 Engineer
3210 posts

sorry, done :-))

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

 
  ‹‹ [SOLVED]Space between widgets ( added to QSplitter )      [Solved] How to make the center widget maxmize together with the application? ››

You must log in to post a reply. Not a member yet? Register here!