Discussions Populaires Dans la Communauté Qt

S'abonner

Questionnez la Communauté


Ask any professional question and get answers from other specialists.

Stream language
Adel Ezat Fawzy Ellozy's image
La question a été ajoutée par Adel Ezat Fawzy Ellozy Webdeveloper. Saudi Arabian Maritiem Sports Federation
Depuis 7 années
Réponses:
6
Adeptes:
Vues:
246
Vote Count:
1
La réponse doit contenir un minimum de 25 caractères.
Ahmed Zahran's image
La question a été ajoutée par Ahmed Zahran Senior Software Developer Oracle
Depuis 11 années

Why do I have to re-declare the class static variables in both .cpp and .h files?‎

In QT, I have a class called MainWindow. I have a variable called plotGrpahics declared as static in my header MainWindow.h file: class MainWindow : public QMainWindow {‎ ... Voir Plus

Réponses:
2
Adeptes:
Vues:
448
Vote Count:
0
La réponse doit contenir un minimum de 25 caractères.
taj gul's image
La question a été ajoutée par taj gul Microbiologist Jan pharmaceutical Industry kabul
Depuis 4 années
Réponses:
0
Adeptes:
Vues:
0
Vote Count:
0
La réponse doit contenir un minimum de 25 caractères.
SASMITA mohapatra's image
La question a été ajoutée par SASMITA mohapatra
Depuis 7 années
Réponses:
0
Adeptes:
Vues:
22
Vote Count:
0
La réponse doit contenir un minimum de 25 caractères.
Daniel Marx's image  
La répondre a été ajoutée par  Daniel Marx, Software Developer, Check24
Depuis 11 années

Hi, afaik class definitions, in this case the header files, are just templates and no memory will be allocated. Static variables on the other side need memory assigned ... Voir Plus

Signaler CV
Default profile image  
La répondre a été ajoutée par  Utilisateur supprimé
Depuis 7 années

Thank you for the question, This report shows details about this question.

Signaler CV
Laith Siryani's image  
La répondre a été ajoutée par  Laith Siryani, Software Engineer, SimLab-Soft
Depuis 6 années

The best advice I can give you is to find a template plugin for Qt Creator ( which is by the way entirely composed of plugins ) by visiting https://github.com/qt-creator/ ... Voir Plus

Signaler CV
Jameel Mohammad's image  
La répondre a été ajoutée par  Jameel Mohammad, Part Time Application Developer, Self Employed
Depuis 6 années

it depends on what you like to do and what kind of programming you work with, but as i see from your background you involved in web programming so JAVA will be better to ... Voir Plus

Signaler CV