I try to add ( QNetworkReply* ). It did not solved my problem. Request dos't send (the record of checkpoint file is empty) and replyHasFinished(QNetworkReply*) Slot has not been fired.

Now MyClass is:

Qt Code:
  1. class MyClass : public QMainWindow
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6. OptiroamLogic(QCommandLinkButton *commandLinkButton,QLCDNumber *lcdnumber,QWidget *parent = 0, Qt::WFlags flags = 0);
  7. QNetworkReply *reply;
  8. QNetworkAccessManager *manager;
  9.  
  10. private:
  11. // QNetworkAccessManager *manager;
  12. QCommandLinkButton *topUp;
  13. QLCDNumber *displayBalance;
  14.  
  15. private:
  16. QString parseXML(QString str);
  17.  
  18. public slots:
  19. void btnRunBrowser_clicked();
  20. void replyHasFinished(QNetworkReply*);
  21. void sendBalanceRequest();
  22. void slotReadyRead();
  23. void slotError(QNetworkReply::NetworkError);
  24. };
  25. }; // namespace Tel
To copy to clipboard, switch view to plain text mode 

May be the reason is in preprocessor Difinitions:

In work project they are : "UNICODE;WIN32;QT_LARGEFILE_SUPPORT;QT_NO_DEBUG;ND EBUG;QT_CORE_LIB;QT_GUI_LIB;QT_XMLPATTERNS_LIB"

In "enemy" project was:
"WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBYQT4_EXPORTS;UNI CODE"

I try to play with them. Now:
"WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBYQT4_EXPORTS;UNI CODE;QT_CORE_LIB;QT_GUI_LIB;QT_XMLPATTERNS_LIB"

As i see there are not something "QT_NETWORK_LIB". But in "work" project it works. The head of class.h file is
Qt Code:
  1. #ifdef _WINDOWS
  2.  
  3. #ifdef LIBYQT4_EXPORTS
  4. #define YQT4_API __declspec(dllexport)
  5. #else
  6. #ifndef LIBYQT4_STATIC
  7. //#define YQT4_API __declspec(dllimport)
  8. #endif
  9. #endif
  10.  
  11. #endif /* _WINDOWS */
  12.  
  13. #ifndef YQT4_API
  14. #define YQT4_API
  15. #endif
  16.  
  17. #undef open
  18. #undef read
  19. #undef close
  20. #undef write
  21. #undef mkdir
  22. #include <string.h>
  23. #include <stdlib.h>
  24. #include <stdio.h>
  25.  
  26. //#define QT_NO_DEBUG
  27. //#define QT_DLL
  28. //#define QT_GUI_LIB
  29. //#define QT_CORE_LIB
  30. //#define QT_THREAD_SUPPORT
  31.  
  32. #include <QtGui>
  33. #include <QSound>
  34. #include <QNetworkReply>
To copy to clipboard, switch view to plain text mode 

And in code i saw something like "one thread supply" - may be this is the reason?

I gonna try to send request throw InternetOpenUrl() and see "checkpoint" file.